Shalin Shekhar Mangar created SOLR-6472:
-------------------------------------------
Summary: Don't require an '!' character at the end of a _route_
(shard.keys) value
Key: SOLR-6472
URL: https://issues.apache.org/jira/browse/SOLR-6472
Project: Solr
Issue Type: Improvement
Components: SolrCloud
Reporter: Shalin Shekhar Mangar
Priority: Minor
Fix For: 4.11
A routing key can be specified in the "_route_" parameter which is then hashed
and the shard corresponding to the key is selected for querying/indexing. But
we require users to specify an exclamation mark at the end to get the right
routing otherwise it fails silently or gives the wrong hash. This also applies
to the split.key param used in shard splitting.
This is really annoying because you can forget to add the '!' character at the
end and you wouldn't even know why the request was routed incorrectly.
We should make the '!' character optional and support keys both with and
without it.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]