[
https://issues.apache.org/jira/browse/SOLR-1478?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12761585#action_12761585
]
Shalin Shekhar Mangar commented on SOLR-1478:
---------------------------------------------
bq. Does this work with distributed search?
No, it throws an exception:
{code}
SEVERE: java.lang.RuntimeException: Doc sort not supported
at
org.apache.solr.handler.component.ShardFieldSortedHitQueue.getCachedComparator(ShardDoc.java:171)
at
org.apache.solr.handler.component.ShardFieldSortedHitQueue.<init>(ShardDoc.java:96)
at
org.apache.solr.handler.component.QueryComponent.mergeIds(QueryComponent.java:393)
at
org.apache.solr.handler.component.QueryComponent.handleResponses(QueryComponent.java:298)
at
org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:290)
{code}
> Enable sort by docid
> --------------------
>
> Key: SOLR-1478
> URL: https://issues.apache.org/jira/browse/SOLR-1478
> Project: Solr
> Issue Type: New Feature
> Components: search
> Reporter: Erik Hatcher
> Priority: Minor
> Fix For: 1.4
>
> Attachments: SOLR-1478.patch
>
>
> Lucene allows sorting by docid, but Solr currently does not provide a way to
> specify it.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.