RE: need help for generating Query String

2005-10-18 Thread jibu mathew
Thanks Koji. It worked for me. jibu -Original Message- From: Koji Sekiguchi [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 18, 2005 10:51 AM To: java-user@lucene.apache.org Subject: Re: need help for generating Query String Hi, > In a program I have indexed 10 files. When I d

Re: need help for generating Query String

2005-10-17 Thread Koji Sekiguchi
Hi, In a program I have indexed 10 files. When I do a search using the query "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 no