[
https://issues.apache.org/jira/browse/SOLR-1297?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Koji Sekiguchi updated SOLR-1297:
---------------------------------
Attachment: SOLR-1297-2.patch
When I set *bit* complex function to sort parameter, I got the error:
{panel}
Must declare sort field or function
org.apache.solr.common.SolrException: Must declare sort field or function
at
org.apache.solr.search.QueryParsing.processSort(QueryParsing.java:376)
at org.apache.solr.search.QueryParsing.parseSort(QueryParsing.java:281)
at
org.apache.solr.search.QueryParsingTest.testSort(QueryParsingTest.java:105)
{panel}
Attached the fix and the test case.
> 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.