Return-Path: Delivered-To: apmail-jakarta-lucene-user-archive@apache.org Received: (qmail 55291 invoked from network); 5 Jul 2002 14:14:01 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 5 Jul 2002 14:14:01 -0000 Received: (qmail 21772 invoked by uid 97); 5 Jul 2002 14:14:10 -0000 Delivered-To: qmlist-jakarta-archive-lucene-user@jakarta.apache.org Received: (qmail 21730 invoked by uid 97); 5 Jul 2002 14:14:09 -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 21718 invoked by uid 98); 5 Jul 2002 14:14:08 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Errors-To: User-Agent: Microsoft-Entourage/10.1.0.2006 Date: Fri, 05 Jul 2002 07:13:17 -0700 Subject: Re: Searching all words by default From: Peter Carlson To: Lucene Users List Message-ID: In-Reply-To: <001501c2241f$2a43fcc0$2464a8c0@sansui.sansui> Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N I think what you are looking to do it change the default boolean operator to be AND. If you look in the archives, there should be something on this. It is a change in the QueryParser code which is in JavaCC. Maybe someone else has the actual link. --Peter On 7/5/02 5:26 AM, "amitb@sansuisoftware.com" wrote: > Hi > > Is there a way to tell lucene to search all the words given to it by default > (something like what google does). > What part of lucene's code will have to be modified if something like this is > to be done . > > Thanks & Regards, > -Amit. > ------------------------------------------------------------------------ > Sun Certified Programmer for Java2 Platform > Sansui Software Pvt. Ltd. > Pune , India > Ph : (O) 020 - 6630501/2 > Ph : (R) 020 - 5454309 > > ------------------------------------------------------------------------ > -- To unsubscribe, e-mail: For additional commands, e-mail: