You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-commits@lucene.apache.org by Apache Wiki <wi...@apache.org> on 2011/11/28 19:05:41 UTC

[Lucene-java Wiki] Update of "TestIdeas" by RobertMuir

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Lucene-java Wiki" for change notification.

The "TestIdeas" page has been changed by RobertMuir:
http://wiki.apache.org/lucene-java/TestIdeas?action=diff&rev1=28&rev2=29

Comment:
done via LUCENE-3601

   1. Add a MockRandomMergeScheduler
   1. IndexOutput should not write all bytes out on close() unless the file is fsynced unless there an exception occurs. that way we might be able to detect fsync problems earlier
   1. Add ThrottledIndexInput just like ThrottledIndexOutput
-  1. MockDirWrapper should first .crash() before running CheckIndex, to catch cases where IO.close somehow fails to sync all files referenced by the committed segments_N
   1. RandomIndexWriter should randomly call MDW.crash() when writer is closed before opening reader
   1. Move the randomly-insert-empty-IndexReaders from QueryUtil into LTC
   1. LTC's AssertingIndexSearcher should sometimes impl search(...) by doing searches against the sub-searchers (segments, maybe coalescing some into single sub-searcher) and then use TopDocs.merge to merge the results