Re: IndexReader.getSequentialSubReaders() usage in Lucene 2.9+

2010-05-27 Thread Simon Willnauer
Hey Nikolay, On Thu, May 27, 2010 at 11:00 AM, Nikolay Zamosenchuk wrote: > Hi, Dear colleagues! > I have one question concerning IndexReader.getSequentialSubReaders() > and it's usage. getSequentialSubReaders() was introduced to support Per-Segment Search in Lucene 2.9. It is used to access the

IndexReader.getSequentialSubReaders() usage in Lucene 2.9+

2010-05-27 Thread Nikolay Zamosenchuk
Hi, Dear colleagues! I have one question concerning IndexReader.getSequentialSubReaders() and it's usage. Imagine there is a class extending DirectoryReader or MultiReader. Usually directory- or multi-reader consists of sub-readers (i.e. segment-readers). Is it safe enough to return always null in