You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by "Grant Ingersoll (JIRA)" <ji...@apache.org> on 2009/12/11 22:46:19 UTC

[jira] Commented: (SOLR-1297) Enable sorting by Function Query

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

Grant Ingersoll commented on SOLR-1297:
---------------------------------------

For this, I think we want to be able to do things like:

Just functions
{code}
sort=dist(2,x,y, point(0,0)) desc
{code}

Multiple sort params, some functions, some fields
{code}
sort=weight asc,dist(2,x,y, point(0,0)) asc
{code}

If and when a function result cache exists, we should be able to take advantage of that too, but that is an implementation detail.

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