lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Hatcher <e...@ehatchersolutions.com>
Subject Re: Search Expansion
Date Fri, 02 Apr 2004 13:40:35 GMT
On Apr 2, 2004, at 4:30 AM, hgadm@cswebmail.com wrote:
> Everything is working fine so far except that Lucene
> creates an 'input string too long' error when I ask for
> e.g. subject:(term001 ... term800).

I presume you're constructing a String and passing it to QueryParser?

Why not just construct a BooleanQuery with a lot of nested TermQuery's? 
  That would bypass QueryParser and any oddities it may introduce too.

	Erik


---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-dev-help@jakarta.apache.org


Mime
View raw message