Return-Path: Delivered-To: apmail-jakarta-lucene-user-archive@www.apache.org Received: (qmail 15073 invoked from network); 31 May 2004 09:01:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 31 May 2004 09:01:37 -0000 Received: (qmail 60713 invoked by uid 500); 31 May 2004 09:01:29 -0000 Delivered-To: apmail-jakarta-lucene-user-archive@jakarta.apache.org Received: (qmail 60529 invoked by uid 500); 31 May 2004 09:01:28 -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 60515 invoked by uid 99); 31 May 2004 09:01:28 -0000 Received: from [203.199.26.74] (HELO daakghar.controlnet.co.in) (203.199.26.74) by apache.org (qpsmtpd/0.27.1) with SMTP; Mon, 31 May 2004 02:01:28 -0700 Received: from karthik ([192.168.4.1]) by dakiya.controlnet.co.in (Netscape Messaging Server 4.15) with ESMTP id HYKMXH00.UC1 for ; Mon, 31 May 2004 14:42:53 +0530 From: "Karthik N S" To: "Lucene Users List" Subject: Range Query Sombody HELP please Date: Mon, 31 May 2004 14:39:21 +0530 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: <200405311017.29208.ykingma@xs4all.nl> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hey Ype Sorry Once again Apologies for my last mail I re indexed my folder 10181 [Seem's to be corrupted] Now I am getting the hits as.... D:\JAVA\lucene\src\demo>java org.lucene.src.indexer.search.SearchFiles Search Keyword : +button+filename:[B10181_P702 TO B01081_P355] Source path [ E:/po/aaaa ] : e:/indexer3/b10181 Query: ['+button+filename:[B10181_P702 TO B01081_P355]'] in Folder e:/indexer3/b10181/b10181_indx_ Not a Found document(s) that matched query Field 'filename': Not a Found document(s) that matched query Field 'bookid': Not a Found document(s) that matched query Field 'creation': Not a Found document(s) that matched query Field 'contents': Not a Found document(s) that matched query Field 'chapNme': Not a Found document(s) that matched query Field 'itmName': 204 Total milliseconds D:\JAVA\lucene\src\demo>java java org.lucene.src.indexer.search.SearchFiles Search Keyword : button+filename:[B10181_P702 TO B01081_P355] Source path [ E:/po/aaaa ] : e:/indexer3/b10181 Query: ['button+filename:[B10181_P702 TO B01081_P355]'] in Folder e:/indexer3/b10181/b10181_indx_ Not a Found document(s) that matched query Field 'filename': Not a Found document(s) that matched query Field 'bookid': Not a Found document(s) that matched query Field 'creation': Not a Found document(s) that matched query Field 'contents': Not a Found document(s) that matched query Field 'chapNme': Not a Found document(s) that matched query Field 'itmName': Is this Correct...... Or something still wrong as per Query parse String is concerned. with regards Karthik -----Original Message----- From: Ype Kingma [mailto:ykingma@xs4all.nl] Sent: Monday, May 31, 2004 1:47 PM To: lucene-user@jakarta.apache.org Subject: Re: Range Query Sombody HELP please Karthik, On Monday 31 May 2004 06:12, Karthik N S wrote: > Hey Ype ... > > My Question now is, If I want to Use Range Query to get search hits > between > fileName "B10181_P702" and "B10181_P355" only Instead of all the 67 hits > , > In this case there is no need to override range query, just use +fileName:[B10181_P702 TO B10181_P355] as part of the query. Kind regards, Ype --------------------------------------------------------------------- To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: lucene-user-help@jakarta.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: lucene-user-help@jakarta.apache.org