Solr
  1. Solr
  2. SOLR-3773

Hash based on the external String id rather than the indexed representation for distributed updates.

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.0, 6.0
    • Component/s: SolrCloud
    • Labels:
      None

      Description

      This makes some things easier - such as external systems doing the hashing themselves (like CloudSolrServer).

      It will be back compat for String id types but not others. Sent an email to the list a good time back seeing if this would bother anyone too much and got no replies.

        Issue Links

          Activity

          Hide
          Yonik Seeley added a comment -

          I'd go as far as to strongly recommend people use string as the type of their ID field.
          Some of the ways I've thought about doing cloud in conjunction with nested documents and document blocks involves encoding sub-children as

          The original idea around letting people specify their own uniqueKey field and fieldType was that you could design a Solr schema that would be compatible with a random lucene index. I think that's rapidly becoming an outdated idea, and not worth the issues it causes.

          Show
          Yonik Seeley added a comment - I'd go as far as to strongly recommend people use string as the type of their ID field. Some of the ways I've thought about doing cloud in conjunction with nested documents and document blocks involves encoding sub-children as The original idea around letting people specify their own uniqueKey field and fieldType was that you could design a Solr schema that would be compatible with a random lucene index. I think that's rapidly becoming an outdated idea, and not worth the issues it causes.
          Hide
          Mark Miller added a comment -

          committed to 4.x and 5.x

          Show
          Mark Miller added a comment - committed to 4.x and 5.x
          Hide
          Uwe Schindler added a comment -

          Closed after release.

          Show
          Uwe Schindler added a comment - Closed after release.

            People

            • Assignee:
              Mark Miller
              Reporter:
              Mark Miller
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development