*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.
Thanks,
Jonathan Franzone
--
To unsubscribe, e-mail: <mailto:lucene-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:lucene-user-help@jakarta.apache.org>
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.
Thanks,
Jonathan Franzone
--
To unsubscribe, e-mail: <mailto:lucene-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:lucene-user-help@jakarta.apache.org>