Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Lucene: Java-User

Queries involving AND don't seem to work properly

 

 

Lucene java-user RSS feed   Index | Next | Previous | View Threaded


jtrent at structsoft

Nov 9, 2001, 7:55 AM

Post #1 of 2 (180 views)
Permalink
Queries involving AND don't seem to work properly

Hi, I'm using RC1 and it seems that queries such as

"KeywordThatIKnowIsNotIndexed AND KeywordThatIsIndexed" is queried, the results act as if I specified OR instead of AND and I get all matches to KeywordThatIsIndexed instead of getting no results as I expected to see.

Any ideas?

Thanks,
Jeff


ian.lea at blackwell

Nov 9, 2001, 9:46 AM

Post #2 of 2 (181 views)
Permalink
Re: Queries involving AND don't seem to work properly [In reply to]

Perhaps upgrade to rc2? I don't see this using rc2.
Against an index of books by author,

kkkkkk AND bloch returns 0 hits, as expected.
kkkkkk OR bloch returns lots of hits, as expected.


As suggested before on this list, it might help if you posted a
bit of code to demonstrate the problem.



--
Ian.
ian.lea [at] blackwell



Jeff Trent wrote:
>
> Hi, I'm using RC1 and it seems that queries such as
>
> "KeywordThatIKnowIsNotIndexed AND KeywordThatIsIndexed" is queried, the results act as if I specified OR instead of AND and I get all matches to KeywordThatIsIndexed instead of getting no results as I expected to see.
>
> Any ideas?
>
> Thanks,
> Jeff

--
To unsubscribe, e-mail: <mailto:lucene-user-unsubscribe [at] jakarta>
For additional commands, e-mail: <mailto:lucene-user-help [at] jakarta>

Lucene java-user RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.