RE: Catching BooleanQuery.TooManyClauses

2006-04-17 Thread bb
om: Paul Elschot [mailto:[EMAIL PROTECTED] > Sent: Sunday, 16 April 2006 5:13 AM > To: java-user@lucene.apache.org > Subject: Re: Catching BooleanQuery.TooManyClauses > > > On Saturday 15 April 2006 13:44, Erick Erickson wrote: > > With the warning that I'm not the mo

Re: Catching BooleanQuery.TooManyClauses

2006-04-15 Thread Erick Erickson
Cool, thanks for the clarification... Erick

Re: Catching BooleanQuery.TooManyClauses

2006-04-15 Thread Paul Elschot
On Saturday 15 April 2006 13:44, Erick Erickson wrote: > With the warning that I'm not the most experienced Lucene user in the > world... > > I *think*, that rather than search for each term, it's more efficient to > just use IndexReader.termDocs. i.e. > > Indexreader ir = ; > TermDocs termDo

Re: Catching BooleanQuery.TooManyClauses

2006-04-15 Thread Erick Erickson
With the warning that I'm not the most experienced Lucene user in the world... I *think*, that rather than search for each term, it's more efficient to just use IndexReader.termDocs. i.e. Indexreader ir = ; TermDocs termDocs = ir.TermDocs(); WildcardTermEnum wildEnum = ; for (Term term = nul