lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Franzone" <>
Subject Boolean Query Parsing with "IN" keyword
Date Tue, 26 Feb 2002 17:26:56 GMT
*This message was transferred with a trial version of CommuniGate(tm) Pro*

I'm trying to search on a US State field. The lucene field name is "state"
and so I'm building a query like: +(state:fl state:al state:in) to search
for documents in Florida, Alabama, or Indiana. But whenever I pass "in" or
"IN" to the QueryParser it strips it out. Passing the above query to the
QueryParser yields +(state:fl state:al). Is there a way to escape the "in"
keyword? I've tried enclosing it in double and single quotes, neither of
which worked.

Jonathan Franzone

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message