[ https://issues.apache.org/jira/browse/SOLR-705?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12741046#action_12741046 ]
Noble Paul commented on SOLR-705: --------------------------------- Let us have a special field of something like "_meta_" (to minimize conflict) which can be used for any future metadata.so, the client code would look like {code:java} sdoc.get("id") NamedList meta = sdoc.get("_meta_"); meta.get("shard"); {code} > Distributed search should optionally return docID->shard map > ------------------------------------------------------------ > > Key: SOLR-705 > URL: https://issues.apache.org/jira/browse/SOLR-705 > Project: Solr > Issue Type: Improvement > Affects Versions: 1.3 > Environment: all > Reporter: Brian Whitman > Assignee: Ryan McKinley > Fix For: 1.4 > > Attachments: SOLR-705.patch, SOLR-705.patch, SOLR-705.patch, > SOLR-705.patch, SOLR-705.patch, SOLR-705.patch > > > SOLR-303 queries with &shards parameters set need to return the dociD->shard > mapping in the response. Without it, updating/deleting documents when the # > of shards is variable is hard. We currently set this with a special > requestHandler that filters /update and inserts the shard as a field in the > index but it would be better if the shard location came back in the query > response outside of the index. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.