On Tue, 2004-11-09 at 15:48, Erik Hatcher wrote:

> This last query has a required clause, which is what BooleanQuery 
> requires when there is a NOT clause.  You're getting what you want here 
> because you've got an item_type:xyz clause as required.  In your first 
> example, you're requiring field_name:foo, whereas in this one it is not 
> mandatory.

So, essentially, my query:

+item_type:xyz +(field_name:foo -field_name:bar)

Gets translated to:

+item_type:xyz +field_name:foo -field_name:bar

Whereas the more lenient one does not require field_name:foo and returns
what I expect.

Is that right?

Now, to decide whether to try to make this work the way I thought it
would, or just document that it doesn't. ;)


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to