Return-Path: Delivered-To: apmail-jakarta-lucene-user-archive@www.apache.org Received: (qmail 2972 invoked from network); 8 Jul 2004 08:56:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 8 Jul 2004 08:56:44 -0000 Received: (qmail 91295 invoked by uid 500); 8 Jul 2004 08:56:37 -0000 Delivered-To: apmail-jakarta-lucene-user-archive@jakarta.apache.org Received: (qmail 91271 invoked by uid 500); 8 Jul 2004 08:56:37 -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 91258 invoked by uid 99); 8 Jul 2004 08:56:36 -0000 X-ASF-Spam-Status: No, hits=0.9 required=10.0 tests=HTML_50_60,HTML_MESSAGE X-Spam-Check-By: apache.org Received: from [65.61.157.209] (HELO www.emacmillan.org) (65.61.157.209) by apache.org (qpsmtpd/0.27.1) with ESMTP; Thu, 08 Jul 2004 01:56:34 -0700 Received: from mail.emacmillan.com ([203.200.41.230]) by www.emacmillan.org (8.11.6/8.11.6) with ESMTP id i688uVY15006 for ; Thu, 8 Jul 2004 03:56:32 -0500 Received: from NIRAJ [192.168.1.177] by emacmillan.com [192.168.1.7] with SMTP (MDaemon.v2.83.R) for ; Thu, 08 Jul 2004 14:27:28 +0530 Message-ID: <004201c464c8$ff832c80$b101a8c0@emacmillan.edu> From: "Niraj Alok" To: "Lucene Users List" References: <020401c46423$107e4480$b101a8c0@emacmillan.edu> <200407071726.33424.daniel.naber@intrafind.de> Subject: Re: boolean operators and score Date: Thu, 8 Jul 2004 14:23:11 +0530 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_003E_01C464F7.19239AC0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-MDaemon-Deliver-To: lucene-user@jakarta.apache.org X-Return-Path: niraj@emacmillan.com X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N ------=_NextPart_000_003E_01C464F7.19239AC0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit If i do it by sorting the input before sending it to lucene, it could become unmanageable to handle and could also throw unexpected results for the user. e.g . if i type: winston churchill and world war and germany i could split the string by "and" and get the sorted string as (churchill winston) and (germany) and (war world) . this would obviously make the hits.score throw up unexpected results. isnt there any other solution which comes from lucene itself ? i am using 1.4 final Regards, Niraj ------=_NextPart_000_003E_01C464F7.19239AC0--