You can only get score and docID from index or you have to read content which reduce performance extremely.
Che, Dong ----- Original Message ----- From: "none none" <[EMAIL PROTECTED]> To: "Lucene Developers List" <[EMAIL PROTECTED]> Sent: Thursday, October 16, 2003 12:43 AM Subject: Re: Better way to Sort by Date > Hi, > Do you think there is a way to use Timestamp instead of docID to calculate the > score? in this way it will work perfectly. > thank you. > > -- > > --------- Original Message --------- > > DATE: Tue, 14 Oct 2003 21:29:04 > From: "Che Dong" <[EMAIL PROTECTED]> > To: "Lucene Developers List" <[EMAIL PROTECTED]>,<[EMAIL PROTECTED]> > Cc: > > >http://cvs.sourceforge.net/viewcvs.py/weblucene/weblucene/webapp/WEB-INF/src/org/apache/lucene/search/IndexOrderSearcher.java > > > >Che, Dong > >----- Original Message ----- > >From: "none none" <[EMAIL PROTECTED]> > >To: "Lucene Developers List" <[EMAIL PROTECTED]> > >Sent: Friday, October 10, 2003 10:20 PM > >Subject: Re: Better way to Sort by Date > >C > > > >> ok, good idea, but how can i do that? > >> any examples? > >> thank you, > >> > >> -- > >> > >> --------- Original Message --------- > >> > >> DATE: Fri, 10 Oct 2003 09:18:33 > >> From: "Karsten Konrad" <[EMAIL PROTECTED]> > >> To: "Lucene Developers List" <[EMAIL PROTECTED]>,<[EMAIL PROTECTED]> > >> Cc: > >> > >> > > >> >Hi, > >> > > >> >the fastest way would be to build your index such that the documents > >> >are inserted in the order of their date. You can then sort a search > >> >result very quickly by date by sorting the document numbers in the > >> >result. > >> > > >> >Regards, > >> > > >> >Mit freundlichen Gr?en aus Saarbr?ken > >> > > >> >-- > >> > > >> >Dr.-Ing. Karsten Konrad > >> >Head of Artificial Intelligence Lab > >> > > >> >XtraMind Technologies GmbH > >> >Stuhlsatzenhausweg 3 > >> >D-66123 Saarbr?ken > >> >Phone: +49 (681) 3025113 > >> >Fax: +49 (681) 3025109 > >> >[EMAIL PROTECTED] > >> >www.xtramind.com > >> > > >> >Besuchen Sie uns auf der SYSTEMS! > >> >20.-24. Oktober 2003, Neue Messe M?chen > >> >Halle A1, Stand 518 > >> > > >> > > >> > > >> > > >> >-----Urspr?gliche Nachricht----- > >> >Von: none none [mailto:[EMAIL PROTECTED] > >> >Gesendet: Freitag, 10. Oktober 2003 06:50 > >> >An: [EMAIL PROTECTED] > >> >Betreff: Better way to Sort by Date > >> > > >> > > >> >hi all, > >> >what is the fastest way to sort results by date? > >> >anybody implemented it yet? any good performance? > >> > > >> >thank you, > >> >Korfut. > >> > > >> > > >> > > >> >____________________________________________________________ > >> >Get advanced SPAM filtering on Webmail or POP Mail ... Get Lycos Mail! > >> >http://login.mail.lycos.com/r/referral?aid=27005 > >> > > >> >--------------------------------------------------------------------- > >> >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] > >> > > >> > > >> > >> > >> > >> ____________________________________________________________ > >> Get advanced SPAM filtering on Webmail or POP Mail ... Get Lycos Mail! > >> http://login.mail.lycos.com/r/referral?aid=27005 > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: [EMAIL PROTECTED] > >> For additional commands, e-mail: [EMAIL PROTECTED] > >> > >> > > > > ____________________________________________________________ > Enter for a chance to win one year's supply of allergy relief! > http://r.hotbot.com/r/lmt_clrtn/http://mocda3.com/1/c/563632/125699/307982/307982 > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
