Return-Path: Delivered-To: apmail-jakarta-lucene-user-archive@apache.org Received: (qmail 15654 invoked from network); 21 Nov 2002 04:49:41 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 21 Nov 2002 04:49:41 -0000 Received: (qmail 4589 invoked by uid 97); 21 Nov 2002 04:50:48 -0000 Delivered-To: qmlist-jakarta-archive-lucene-user@jakarta.apache.org Received: (qmail 4555 invoked by uid 97); 21 Nov 2002 04:50:47 -0000 Mailing-List: contact lucene-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Lucene Users List" Reply-To: "Lucene Users List" Delivered-To: mailing list lucene-user@jakarta.apache.org Received: (qmail 4543 invoked by uid 98); 21 Nov 2002 04:50:46 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Date: Wed, 20 Nov 2002 20:49:44 -0800 Mime-Version: 1.0 (Apple Message framework v548) Content-Type: text/plain; charset=US-ASCII; format=flowed Subject: Searching for keyword 0 [zero] using TermQuery From: Eric Fixler To: Lucene List Content-Transfer-Encoding: 7bit Message-Id: X-Mailer: Apple Mail (2.548) X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hello. I have a field in an index that stores item id's which can be zero. I use a TermQuery to search for these, and everything works fine except when I'm searching for things with id 0; these entries return no results. The index appears to have the correct data and the query looks proper as far as I can tell. Is this a known issue? Can anyone suggest a possible workaround? thanks eric -- To unsubscribe, e-mail: For additional commands, e-mail: