Hello,

did you check available functions at

https://cwiki.apache.org/confluence/display/solr/Function+Queries ?

On Wed, Dec 3, 2014 at 7:11 PM, eakarsu <eaka...@gmail.com> wrote:

> 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.
>



-- 
Sincerely yours
Mikhail Khludnev
Principal Engineer,
Grid Dynamics

<http://www.griddynamics.com>
<mkhlud...@griddynamics.com>

Reply via email to