'AND' needs to be all-caps. See:

http://lucene.apache.org/java/2_4_0/queryparsersyntax.html



On Sep 27, 4:58 pm, Clint Hyde <[email protected]> wrote:
> am I supposed to be able to follow the Lucene documented query syntax
> for search queries? It doesn't seem to work...
>
> I want to be able to do "X and Y" and get only results where both X and
> Y are present.
>
> But I seem to be getting "X _OR_ Y"
>
> other things don't seem to work either.
>
> for my test query, out of ~85k records, I should get two results, but I
> get something like 5 thousand.
>
>   -- clint

-- 
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/h2-database?hl=en.

Reply via email to