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 most experienced Lucene
user in the
world...
I *think*, that rather than search for each term, it's more
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 = whatever;
TermDocs termDocs = ir.TermDocs();
WildcardTermEnum wildEnum = whatever;
for
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 = whatever;
TermDocs
Cool, thanks for the clarification...
Erick
Hi Lucene Users,
I would like to catch BooleanQuery.TooManyClauses exception for certain
wildcard searches and display a 'subset' of results. I have used the
WildcardTermEnum to give me the first X documents matching the wildcard
query. Below is the code I use to implement the solution.