[
https://issues.apache.org/jira/browse/SOLR-1297?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12842480#action_12842480
]
Yonik Seeley commented on SOLR-1297:
------------------------------------
Finally got a chance to check this out a little more... here are the current
issues I think:
* functions need to be weighted (as previously noted)
* parseSort needs to actually parse the function query with the real function
query parsing code, rather than trying to parse it itself first - two sets of
parsing code for the same thing will always lead to subtle bugs. For example,
things like query($qq) fail to parse, as do functions with string literals that
contain markup like parens.
* parseFunction is called (that should really be deprecated) which doesn't use
the right QParser (it just constructs a local one with the incorrect core -
SolrCore.getSolrCore())
> Enable sorting by Function Query
> --------------------------------
>
> Key: SOLR-1297
> URL: https://issues.apache.org/jira/browse/SOLR-1297
> Project: Solr
> Issue Type: New Feature
> Reporter: Grant Ingersoll
> Assignee: Grant Ingersoll
> Priority: Minor
> Fix For: 1.5
>
> Attachments: SOLR-1297-2.patch, SOLR-1297.patch
>
>
> It would be nice if one could sort by FunctionQuery. See also SOLR-773,
> where this was first mentioned by Yonik as part of the generic solution to
> geo-search
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.