lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shalin Shekhar Mangar (JIRA)" <j...@apache.org>
Subject [jira] Commented: (SOLR-1478) Enable sort by docid
Date Fri, 02 Oct 2009 14:07:23 GMT

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


Mime
View raw message