You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by AlexElba <ra...@yahoo.com> on 2008/08/15 00:07:53 UTC

Lucene search for OR

Hello I am trying to search for or(Oregon) even when it is not capitalized it
is not returning any results.

How to search for 'or' ?
-- 
View this message in context: http://www.nabble.com/Lucene-search-for-OR-tp18990623p18990623.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com.


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


Re: Lucene search for OR

Posted by Daniel Noll <da...@nuix.com>.
AlexElba wrote:
> Hello I am trying to search for or(Oregon) even when it is not capitalized it
> is not returning any results.
> 
> How to search for 'or' ?

It sounds like you might have indexed with English stop words, as "or" 
is certainly in that list.

Trivial way to check is to search for "the".  If it gives no results 
then you won't find "or" either, without reindexing with stop words off.

Daniel


-- 
Daniel Noll

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