Hi,

The behaviour of the query parser (either the standard lucene query parser, or the query parser contrib) is not what I expect when I am using
- unary operators
- a multi-field query
- AND as default operator.

For example, let say I have two field fieldA and fieldB, and the following query:
+termA +termB termC

Lucene query parsers will expand the query as:
+(fieldA:termA fieldB:termA) +(fieldA:termB fieldB:termB) +(fieldA:termC fieldB:termC)

while I would have expected this

+(fieldA:termA fieldB:termA) +(fieldA:termB fieldB:termB) (fieldA:termC fieldB:termC)

Is it the normal behaviour ? A Bug ? Am I doing something wrong ?

Thanks in advance for your help,
--
Renaud Delbru

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org

Reply via email to