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 Raq <ro...@hotmail.com> on 2008/03/12 20:03:16 UTC

Indexing Yes and No

Querying Lucene with

includeNews:Yes

Works fine and brings back expected results..

includeNews:No

Does not work and brings back nothing..

There are definitely documents in my index that has the word "No" in the
includeNews field.

Tested in Luke with all the analyzers.

Any ideas? Any thoughts? Any workarounds..? 

Any help much appreciated.

Thanks

Raq
-- 
View this message in context: http://www.nabble.com/Indexing-Yes-and-No-tp16012319p16012319.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: Indexing Yes and No

Posted by Mark Miller <ma...@gmail.com>.
Well, if your using a stopword list, "no" is likely to be on it and 
"yes" is not.

Raq wrote:
> Querying Lucene with
>
> includeNews:Yes
>
> Works fine and brings back expected results..
>
> includeNews:No
>
> Does not work and brings back nothing..
>
> There are definitely documents in my index that has the word "No" in the
> includeNews field.
>
> Tested in Luke with all the analyzers.
>
> Any ideas? Any thoughts? Any workarounds..?
>
> Any help much appreciated.
>
> Thanks
>
> Raq
>    

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