[
https://issues.apache.org/jira/browse/SOLR-5258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13788022#comment-13788022
]
ASF subversion and git services commented on SOLR-5258:
-------------------------------------------------------
Commit 1529808 from [~noble.paul] in branch 'dev/branches/branch_4x'
[ https://svn.apache.org/r1529808 ]
SOLR-5258 compute full composite hash on router.field
> router.field support for compositeId router
> -------------------------------------------
>
> Key: SOLR-5258
> URL: https://issues.apache.org/jira/browse/SOLR-5258
> Project: Solr
> Issue Type: New Feature
> Reporter: Yonik Seeley
> Assignee: Noble Paul
> Priority: Minor
> Fix For: 5.0, 4.6
>
> Attachments: SOLR-5258.patch, SOLR-5258.patch
>
>
> Although there is code to support router.field for CompositeId, it only
> calculates a simple (non-compound) hash, which isn't that useful unless you
> don't use compound ids (this is why I changed the docs to say router.field is
> only supported for the implicit router). The field value should either
> - be used to calculate the full compound hash
> - be used to calculate the prefix bits, and the uniqueKey will still be used
> for the lower bits.
> For consistency, I'd suggest the former.
> If we want to be able to specify a separate field that is only used for the
> prefix bits, then perhaps that should be "router.prefixField"
--
This message was sent by Atlassian JIRA
(v6.1#6144)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]