[ 
https://issues.apache.org/jira/browse/SOLR-5707?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13894861#comment-13894861
 ] 

Robert Muir commented on SOLR-5707:
-----------------------------------

Hoss: i'd like to see something like both possibilities myself.

having these things statically has some advantages: e.g. from the case where 
you see it as a modified ranking function. In this "static case" you compile 
up-front and re-use the same class and get more advantages from e.g. hotspot: 
its as if you wrote a comparator in java yourself. It has a performance 
advantage over doing it "dynamically" (maybe 10% or so). But the latter would 
be very convenient and flexible, for when the expression is query-dependent 
(e.g. incorporating distance-type stuff) too.

> Lucene Expressions in Solr
> --------------------------
>
>                 Key: SOLR-5707
>                 URL: https://issues.apache.org/jira/browse/SOLR-5707
>             Project: Solr
>          Issue Type: New Feature
>            Reporter: Ryan Ernst
>         Attachments: SOLR-5707.patch
>
>
> Expressions should be available for use in Solr.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to