Return-Path: Delivered-To: apmail-jakarta-lucene-user-archive@www.apache.org Received: (qmail 37116 invoked from network); 14 Jul 2004 07:18:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 14 Jul 2004 07:18:56 -0000 Received: (qmail 93300 invoked by uid 500); 14 Jul 2004 07:18:49 -0000 Delivered-To: apmail-jakarta-lucene-user-archive@jakarta.apache.org Received: (qmail 93240 invoked by uid 500); 14 Jul 2004 07:18:48 -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 93227 invoked by uid 99); 14 Jul 2004 07:18:48 -0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received: from [81.19.66.30] (HELO mxb.rambler.ru) (81.19.66.30) by apache.org (qpsmtpd/0.27.1) with ESMTP; Wed, 14 Jul 2004 00:18:44 -0700 Received: from mail5.rambler.ru (mail5.rambler.ru [81.19.66.7]) by mxb.rambler.ru (Postfix) with ESMTP id 307B583CAE for ; Wed, 14 Jul 2004 11:18:41 +0400 (MSD) Received: from [81.19.66.146] (account vyuryev@rambler.ru) by mail5.rambler.ru (CommuniGate Pro WebUser 4.1.8) with HTTP id 47654224 for lucene-user@jakarta.apache.org; Wed, 14 Jul 2004 11:18:41 +0400 From: "Vladimir Yuryev" Subject: Re: HOWTO USE SORT on QUERY PARSER :) To: "Lucene Users List" X-Mailer: CommuniGate Pro WebUser Interface v.4.1.8 Date: Wed, 14 Jul 2004 11:18:41 +0400 Message-ID: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1251"; format="flowed" Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Besides 1) the point is independent from 2) point. Presence of test programs gives you a visual example to that as it is necessary to use the given class and a guarantee ~99.9... that this class works. Regards, Vladimir. On Wed, 14 Jul 2004 12:27:12 +0530 "Karthik N S" wrote: >Hey > > Guys' > >Apologies... > >Gee th's so simple u have explained me Thx a lot. > > >Please correct me If I am wrong.... > >1) > >So U tell me that On Field type "FIELD_CONTENTS" , the relevant >hits can >be sorted wrt Field type "FIELD_DATE " > >[ Where FIELD_DATE & FIELD_CONTENTS are Field Typos for >Lucene]....... > > >2) > To Run the Junit test's Do I need to Dwnload all the Files from CVS >[Will >there be a build .aml within the CVS] to run and execute the >Tests... > > >with regards >Karthik > > >-----Original Message----- >From: Vladimir Yuryev [mailto:vyuryev@rambler.ru] >Sent: Wednesday, July 14, 2004 12:08 PM >To: Lucene Users List >Subject: Re: HOWTO USE SORT on QUERY PARSER :( > > >example: > query = QueryParser.parse(queryString, FIELD_CONTENTS, analyzer); > Sort sort =new Sort(); > sort.setSort(FIELD_DATE,true); > //hits = searcher.search(query,sort); > hits = multiSearcher.search(query,sort); >... >FIELD_DATE - indexed field. > >Regards, >Vladimir > >On Wed, 14 Jul 2004 12:02:33 +0530 > "Karthik N S" wrote: >>Hey >> Guys >> >>Apologies.... >> >> Before running the Build.xml for the Junit Test files , Do I need >>to >>Download all the Files present in "Search folder" >> from lucene CVS TEST in order to get the O/p Results >> >>With regards >>Karthik >> >> >> >>-----Original Message----- >>From: Vladimir Yuryev [mailto:vyuryev@rambler.ru] >>Sent: Wednesday, July 14, 2004 11:38 AM >>To: Lucene Users List >>Subject: Re: HOWTO USE SORT on QUERY PARSER :( >> >> >>It is config problem. >>Run build.xml --> [Run ANT...]--> Run unit tests. >>Vladimir. >> >>On Wed, 14 Jul 2004 11:27:25 +0530 >> "Karthik N S" wrote: >>>Hi >>>Guys >>> >>>Apologies >>> >>>I am using Eclipse 3.0 Ide , so when I run this file within the IDE,I >>>am not >>>able to VIEW the O/p Results. >>>[ Till now I have no Idea about how to setup and run the Junit >>>tests/View >>>results on the O.ps ] >>> >>>Please give me some Tips on this ..... >>> >>>With regards >>>Karthik >>> >>>-----Original Message----- >>>From: Vladimir Yuryev [mailto:vyuryev@rambler.ru] >>>Sent: Wednesday, July 14, 2004 11:12 AM >>>To: Lucene Users List >>>Subject: Re: HOWTO USE SORT on QUERY PARSER :( >>> >>> >>>Hi! >>> >>> From CVS --> >>>jakarta-lucene/src/test/org/apache/lucene/search/TestSort.java >>>Run it as UnitTest ( :-( --> :-) ) >>> >>>Best regards, >>>Vladimir. >>> >>>On Tue, 13 Jul 2004 15:31:18 +0530 >>> "Karthik N S" wrote: >>>>Hey >>>> >>>> Guys >>>> >>>>Apologies.... >>>> >>>> Can somebody please explain to me with a simple SRC example of >>>> how to >>>>use SORT on Query parser [1.4 lucene] >>>> [ I am confused with the code snippet on the CVS Test Case] >>>> >>>> >>>> >>>>with regards >>>>Karthik >>>> >>>>-----Original Message----- >>>>From: Grant Ingersoll [mailto:gsingers@syr.edu] >>>>Sent: Tuesday, July 13, 2004 2:29 AM >>>>To: lucene-user@jakarta.apache.org >>>>Subject: Re: Could search results give an idea of which field matched >>>> >>>> >>>>See the explain functionality in the Javadocs and previous threads. >>>> You can >>>>ask Lucene to explain why it got the results it did for a give hit. >>>> >>>>>>> saugustine@interwoven.com 07/12/04 04:52PM >>> >>>>I search the index on multiple fields. Could the search results also >>>>tell me which field matched so that the document was selected? From >>>>what >>>>I can tell, only the document number and a score are returned, is >>>>there >>>>a way to also find out what was the field(s) of the document matched >>>>the >>>>query? >>>> >>>> >>>> >>>>Sildy >>>> >>>> >>>> >>>> >>>> >>>>--------------------------------------------------------------------- >>>>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 >>>> >>> >>> >>>--------------------------------------------------------------------- >>>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 >>> >> >> >>--------------------------------------------------------------------- >>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 >> > > >--------------------------------------------------------------------- >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 > --------------------------------------------------------------------- To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: lucene-user-help@jakarta.apache.org