lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "jibu mathew" <>
Subject RE: need help for generating Query String
Date Wed, 19 Oct 2005 05:17:03 GMT
Thanks Koji. It worked for me.

-----Original Message-----
From: Koji Sekiguchi [] 
Sent: Tuesday, October 18, 2005 10:51 AM
Subject: Re: need help for generating Query String


> In a program I have indexed 10 files. When I do a search using the
> "contents:java", it will return 2 documents. But when I give
> "-contents:java", then it will return an empty result set. Does anyone
> know what the right query string for this? I.e., to retrieve all
> documents that does not contain the word 'java'.

Please see FAQ of Lucene:

How does one determine which documents do not have a certain term?

Thank you,


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

View raw message