lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eakarsu <eaka...@gmail.com>
Subject Dynamic boosting with functions
Date Wed, 03 Dec 2014 16:11:52 GMT
I need to boost some of document with with a function.

I can give boosting for field "myField" with bq = myField^10

But I like to give dynamic boosting based on whether or not other field
"someotherfield" exists in a document or not.

I like to give boosting 

if (exists(termfreq(someotherfield,"green")),100,1)

to "myField" field 

Is this possible? If so, how?

Thanks




--
View this message in context: http://lucene.472066.n3.nabble.com/Dynamic-boosting-with-functions-tp4172387.html
Sent from the Solr - User mailing list archive at Nabble.com.

Mime
View raw message