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/12 14:39:18 UTC

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

     [ https://issues.apache.org/jira/browse/SOLR-1297?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Grant Ingersoll updated SOLR-1297:
----------------------------------

    Attachment: SOLR-1297.patch

First crack at a patch.  I think it's in pretty good shape, but I had to rewrite QueryParsing.parseSort(), so it bears some extra scrutiny (although I put tests in place first).

Added a bunch of new tests for both parsing and for search (see QueryParsingTest and SortByFunctionTest).  All existing and new tests pass.



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