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

SignatureUpdateProcessor ignores non-string field values from the signature generation

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.4, 3.1, 3.2, 3.3, 3.4, 3.5, 4.0-ALPHA
    • Fix Version/s: 3.6, 4.0-ALPHA
    • Component/s: update
    • Labels:
      None

      Description

      When using for example XMLUpdateRequestProcessor, the signature is calculated correctly since all field values are strings. But when one uses DataImportHandler or BinaryUpdateRequestHandler, the signature generation will ignore any field values that are ints, longs, dates etc.

      This might result in overwriting non-similar documents, as it happened in my case while importing some db data through DIH.

        Attachments

        1. SOLR-3226.patch
          7 kB
          Hoss Man
        2. SOLR-3226.patch
          5 kB
          Spyros Kapnissis

          Issue Links

            Activity

              People

              • Assignee:
                hossman Hoss Man
                Reporter:
                spyk Spyros Kapnissis
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: