You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Scott Kister (JIRA)" <ji...@apache.org> on 2010/09/13 23:50:02 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=12909013#action_12909013 ] 

Scott Kister commented on SOLR-1297:
------------------------------------

Bug report on this feature, if there is a wildcard entry in schema.xml such as the following.

    <!-- Ignore any fields that don't already match an existing field name -->
    <dynamicField name="*" type="ignored" multiValued="true" />

then this feature does not work and an error is returned, ie

GET 'http://localhost:8983/solr/select?q=*:*&sort=sum(1,2)+asc'
Error 400 can not sort on unindexed field: sum(1,2)


> 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, 3.1, 4.0
>
>         Attachments: SOLR-1297-2.patch, SOLR-1297.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.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org