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:[EMAIL PROTECTED] 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" <[EMAIL PROTECTED]> 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:[EMAIL PROTECTED] >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" <[EMAIL PROTECTED]> 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:[EMAIL PROTECTED] >>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" <[EMAIL PROTECTED]> 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:[EMAIL PROTECTED] >>>Sent: Tuesday, July 13, 2004 2:29 AM >>>To: [EMAIL PROTECTED] >>>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. >>> >>>>>> [EMAIL PROTECTED] 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: [EMAIL PROTECTED] >>>For additional commands, e-mail: [EMAIL PROTECTED] >>> >>> >>>--------------------------------------------------------------------- >>>To unsubscribe, e-mail: [EMAIL PROTECTED] >>>For additional commands, e-mail: [EMAIL PROTECTED] >>> >> >> >>--------------------------------------------------------------------- >>To unsubscribe, e-mail: [EMAIL PROTECTED] >>For additional commands, e-mail: [EMAIL PROTECTED] >> >> >>--------------------------------------------------------------------- >>To unsubscribe, e-mail: [EMAIL PROTECTED] >>For additional commands, e-mail: [EMAIL PROTECTED] >> > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
