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

mapUniqueKeyOnly=true silently ignores field mapping params f=.. when indexing custom JSON

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 5.3.1
    • Fix Version/s: None
    • Component/s: examples, update
    • Labels:
      None

      Description

      since SOLR-6633 most of published JSON examples doesn't work in techproducts exmple, it provides unpleasant user experience.
      see comment 1 and comment 2

      It's proposed to explicitly throw an error if mapUniqueKeyOnly=true and f=.. are supplied, like it's done now with srcField=.. and split=.. : "msg":"Raw data can be stored only if split=/","code":400,

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                mkhl Mikhail Khludnev
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated: