Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 10146 invoked from network); 22 Jun 2005 17:16:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 22 Jun 2005 17:16:02 -0000 Received: (qmail 66709 invoked by uid 500); 22 Jun 2005 17:15:57 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 66688 invoked by uid 500); 22 Jun 2005 17:15:57 -0000 Mailing-List: contact java-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-user@lucene.apache.org Delivered-To: mailing list java-user@lucene.apache.org Delivered-To: moderator for java-user@lucene.apache.org Received: (qmail 8588 invoked by uid 99); 22 Jun 2005 16:39:39 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=HTML_50_60,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Message-ID: <0AF2CD6C1B288D4BB2724288590DBCB34973BC@www.prismanet.ch> From: Urs Eichmann To: "'java-user@lucene.apache.org'" Subject: Weird Problem with Lucene Date: Wed, 22 Jun 2005 18:39:26 +0200 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C57748.F3B51A10" X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------_=_NextPart_001_01C57748.F3B51A10 Content-Type: text/plain My index consists of about 26 fields. I have a very wierd problem: On certain fields, I cannot search - i.e. the search always returns 0 documents. I used Luke's Lucene Index Toolbox, and the behaviour there is weird as well: I do the following in Luke's Program: a) go to the Documents Tab b) Enter term field-name: unit and value="DOSE", hit "Show all docs" c) A list of 5 documents is displayed, which is ok. The query is unit:DOSE. The parsed query is unit:DOSE and the rewritten query is unit:dose d) Then I just hit the "Search" button without changing the query e) now the result list is empty. The only difference I can see is that the parsed query is unit:dose now instead of unit:DOSE. Does anyone have an explanation for this behaviour? The problem is, the same behaviour is in my program, e.g. if I look for "unit:DOSE", I will get no documents returned. However, on many of the other 26 fields, it runs OK, and I can't see any difference in the field definitions. I had this problem in 1.4.3, changed now to 1.9 RC1, but the problem is still the same. Many thanks for any help! Urs ------_=_NextPart_001_01C57748.F3B51A10--