lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe <fischauto...@yahoo.de>
Subject Re: Lucene code injection?
Date Thu, 24 May 2007 13:37:43 GMT
Hi,
> 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: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message