lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe <>
Subject Re: Lucene code injection?
Date Thu, 24 May 2007 13:37:43 GMT
> Hi Joe,
> It might be possible when you append the restriction before parsing the
> user query with the QueryParser, but I'm not sure. I recommend first
> parsing the query, and then constructing a BooleanQuery with the parsed
> user query and the e-mail term both as must.
yes thats the idea.

>  Another approach would be
> to use a QueryFilter. Using a QueryFilter might be the best solution
> here because the filter is cached, and hence applies very fast on
> subsequent searches.
Ok, i will try it out with Queryfilter.

Thx everybody.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message