Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-6472

Don't require an '!' character at the end of a _route_ (shard.keys) value

    XMLWordPrintableJSON

    Details

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                shalin Shalin Shekhar Mangar
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Time Tracking

                  Estimated:
                  Original Estimate - 4h
                  4h
                  Remaining:
                  Remaining Estimate - 4h
                  4h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified