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

SignatureUpdateProcessor ignores non-string field values from the signature generation

Agile BoardAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    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
          Chris M. Hostetter
        2. SOLR-3226.patch
          5 kB
          Spyros Kapnissis

        Issue Links

          Activity

            People

            • Assignee:
              hossman Chris M. Hostetter
              Reporter:
              spyk Spyros Kapnissis

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment