lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ing. Jorge Luis Betancourt Gonzalez" <jlbetanco...@uci.cu>
Subject Re: Auto Suggest - Time decay
Date Tue, 01 Oct 2013 17:34:03 GMT
For that core just use a boost factor as explained on [1]:

You could use a query like this to see (before make any change) how your suggestions will
be retrieved, in this case a query for "goog" has been made, and recent documents will be
boosted (an extra bonus will be given for the newer documents).

http://localhost:8983/solr/select?q={!boost b=recip(ms(NOW,manufacturedate_dt),3.16e-11,1,1)}goog

If this is enough for you you could poot the boost parameter in your request handler and make
it even simpler so any query againsta this particular request handler will be automatically
boosted by date.

PS: You could tweak the above formula used in the boost parameter for a more suitable to your
needs.

----- Mensaje original -----
De: "SolrLover" <bbarani@gmail.com>
Para: solr-user@lucene.apache.org
Enviados: Martes, 1 de Octubre 2013 12:19:51
Asunto: Re: Auto Suggest - Time decay

I am using a totally separate core for storing the auto suggest keywords.

Would you be able to send me some more details on your implementation? 



--
View this message in context: http://lucene.472066.n3.nabble.com/Auto-Suggest-Time-decay-tp4092965p4092969.html
Sent from the Solr - User mailing list archive at Nabble.com.
________________________________________________________________________________________________
III Escuela Internacional de Invierno en la UCI del 17 al 28 de febrero del 2014. Ver www.uci.cu
________________________________________________________________________________________________
III Escuela Internacional de Invierno en la UCI del 17 al 28 de febrero del 2014. Ver www.uci.cu

Mime
View raw message