You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by "David Smiley (@MITRE.org)" <DS...@mitre.org> on 2013/09/03 23:35:54 UTC

Re: Change the score of a document based on the *value* of a multifield using dismax

If you want to alter the score in a customized way based on indexed text data
on a per-value basis then index Lucene payloads, and use PayloadTermQuery. 
See the javadocs for PayloadTermQuery in particular and follow the
references.  This is a bit dated but read this:
http://searchhub.org/2009/08/05/getting-started-with-payloads/

You can get this done.  Almost anything is doable if you have sufficient
time and determination.

~ David



-----
 Author: http://www.packtpub.com/apache-solr-3-enterprise-search-server/book
--
View this message in context: http://lucene.472066.n3.nabble.com/Change-the-score-of-a-document-based-on-the-value-of-a-multifield-tp4087503p4088086.html
Sent from the Solr - User mailing list archive at Nabble.com.

Re: Change the score of a document based on the *value* of a multifield using dismax

Posted by danielitos85 <da...@gmail.com>.
Thanks a lot David. 
I will try it ;)





--
View this message in context: http://lucene.472066.n3.nabble.com/Change-the-score-of-a-document-based-on-the-value-of-a-multifield-tp4087503p4088145.html
Sent from the Solr - User mailing list archive at Nabble.com.