lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Hatcher <e...@ehatchersolutions.com>
Subject Re: merged search of document
Date Mon, 12 Jan 2004 13:54:22 GMT
On Jan 12, 2004, at 8:21 AM, Thomas Scheffler wrote:
> OK, I've looked inside QueryParser and it's seems to be the right 
> place to
> do that. But it's rather complicated to transform a query to another,
> since QueryParserTokenManager as an extreme example is not quite
> understandable and needs a huge time for all that stuff to work in.

Keep in mind that QueryParser is reasonably overridable.  Simply 
subclass it and override one of the get*Query methods.  This may be the 
simplest way for you to inject additional clauses into a query.

	Erik


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


Mime
View raw message