lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erick Erickson <>
Subject Re: query formulation
Date Tue, 14 Dec 2010 20:50:18 GMT
Hmmmm, have you seen this page?
<>If that doesn't
help, perhaps you can explain what it is that you're trying to do that the
is inadequate for.

Do note that Lucene query syntax is better thought of with the +/-/ / syntax
(this last is a blank
operator standing for "should". It's not true boolean logic.


On Tue, Dec 14, 2010 at 12:26 PM, Hassan Saneifar

> Hello,
> I'm wondering if there is a way to configure the query in lucene to use the
> logical operation ?
> In fact, I would like to force retrieval of documents which contain
> obligatory a given keyword or do not contain an other one. I can do that by
> a preprocessing (filter the documents which contain the keyword) but I would
> like to that in the query formulation.
> Many thanks
> --
> Hassan Saneifar,
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message