Yonik Seeley created SOLR-5258:
----------------------------------

             Summary: 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
            Priority: Minor


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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to