lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Che Dong" <ched...@hotmail.com>
Subject Re: Better way to Sort by Date
Date Sat, 18 Oct 2003 14:54:30 GMT
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" <korfut@lycos.com>
To: "Lucene Developers List" <lucene-dev@jakarta.apache.org>
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" <chedong@hotmail.com>
> To: "Lucene Developers List" <lucene-dev@jakarta.apache.org>,<korfut@lycos.com>
> 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" <korfut@lycos.com>
> >To: "Lucene Developers List" <lucene-dev@jakarta.apache.org>
> >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" <Karsten.Konrad@xtramind.com>
> >> To: "Lucene Developers List" <lucene-dev@jakarta.apache.org>,<korfut@lycos.com>
> >> 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ücken
> >> >
> >> >--
> >> >
> >> >Dr.-Ing. Karsten Konrad
> >> >Head of Artificial Intelligence Lab
> >> >
> >> >XtraMind Technologies GmbH
> >> >Stuhlsatzenhausweg 3
> >> >D-66123 Saarbrücken
> >> >Phone: +49 (681) 3025113
> >> >Fax: +49 (681) 3025109
> >> >konrad@xtramind.com
> >> >www.xtramind.com
> >> >
> >> >Besuchen Sie uns auf der SYSTEMS!
> >> >20.-24. Oktober 2003, Neue Messe München
> >> >Halle A1, Stand 518
> >> >
> >> >
> >> >
> >> >
> >> >-----Ursprüngliche Nachricht-----
> >> >Von: none none [mailto:korfut@lycos.com] 
> >> >Gesendet: Freitag, 10. Oktober 2003 06:50
> >> >An: lucene-dev@jakarta.apache.org
> >> >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: lucene-dev-unsubscribe@jakarta.apache.org
> >> >For additional commands, e-mail: lucene-dev-help@jakarta.apache.org
> >> >
> >> >
> >> >---------------------------------------------------------------------
> >> >To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org
> >> >For additional commands, e-mail: lucene-dev-help@jakarta.apache.org
> >> >
> >> >
> >> 
> >> 
> >> 
> >> ____________________________________________________________
> >> 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: lucene-dev-unsubscribe@jakarta.apache.org
> >> For additional commands, e-mail: lucene-dev-help@jakarta.apache.org
> >> 
> >> 
> 
> 
> 
> ____________________________________________________________
> 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: lucene-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: lucene-dev-help@jakarta.apache.org
> 
> 
Mime
View raw message