You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Noble Paul (JIRA)" <ji...@apache.org> on 2013/10/01 17:04:25 UTC
[jira] [Resolved] (SOLR-5258) router.field support for compositeId
router
[ https://issues.apache.org/jira/browse/SOLR-5258?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Noble Paul resolved SOLR-5258.
------------------------------
Resolution: Fixed
Fix Version/s: 4.6
5.0
> 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org