Re: PhraseQuery in BooleanQuery not working properly in 2.9.0

2009-10-13 Thread Chris Hostetter
: With the new Lucene 2.9.0 (on a newly built index of approx. 30 : million documents) running BooleanQueries containing PhraseQuery does : not work properly. I've verified this on both optimized and : unoptimized index versions. I suspect that this is the same problem as identified in LUCENE-197

PhraseQuery in BooleanQuery not working properly in 2.9.0

2009-10-13 Thread Ion Barcan
Hello, With the new Lucene 2.9.0 (on a newly built index of approx. 30 million documents) running BooleanQueries containing PhraseQuery does not work properly. I've verified this on both optimized and unoptimized index versions. For example: lucli> count field1:"john doe" Searching for: field1:"

Re: Realtime search best practices

2009-10-13 Thread Michael McCandless
On Tue, Oct 13, 2009 at 5:23 AM, Ganesh wrote: > In case of 2.4.1, the reader after reopen, will be warmed before actual use. You mean you must warm it after you call reopen, before using it, right? > In 2.9, public void setMergedSegmentWarmer(IndexWriter.IndexReaderWarmer > warmer), does warm

Re: Realtime search best practices

2009-10-13 Thread Michael McCandless
OK I opened https://issues.apache.org/jira/browse/LUCENE-1976. Mike On Tue, Oct 13, 2009 at 6:05 AM, Michael McCandless wrote: > I agree isCurrent doesn't work right for an NRT reader.  Right now, it > will always return "true" because it's sharing the segmentInfos in use > by the writer. > > Si

Re: Realtime search best practices

2009-10-13 Thread Michael McCandless
I agree isCurrent doesn't work right for an NRT reader. Right now, it will always return "true" because it's sharing the segmentInfos in use by the writer. Similarly, getVersion will lie. I'll open an issue to track how to fix it. Mike On Mon, Oct 12, 2009 at 6:12 PM, Yonik Seeley wrote: > Go

Re: Realtime search best practices

2009-10-13 Thread Ganesh
Hello all, In case of 2.4.1, the reader after reopen, will be warmed before actual use. In 2.9, public void setMergedSegmentWarmer(IndexWriter.IndexReaderWarmer warmer), does warming when we do getReader(). If we do getReader() for every request then whether it will reduce the search performa

Re: faceted search performance

2009-10-13 Thread Christoph Boosz
Ok, I will have a shot at the ascending docId order. Chris 2009/10/13 Paul Elschot > On Monday 12 October 2009 23:29:07 Christoph Boosz wrote: > > Hi Paul, > > > > Thanks for your suggestion. I will test it within the next few days. > > However, due to memory limitations, it will only work if t

Re: faceted search performance

2009-10-13 Thread Paul Elschot
On Monday 12 October 2009 23:29:07 Christoph Boosz wrote: > Hi Paul, > > Thanks for your suggestion. I will test it within the next few days. > However, due to memory limitations, it will only work if the number of hits > is small enough, am I right? One can load a single term vector at a time, s