Mikhail Khludnev created SOLR-8240:
--------------------------------------
Summary: mapUniqueKeyOnly=true silently ignores field mapping
params f=.. when indexing custom JSON
Key: SOLR-8240
URL: https://issues.apache.org/jira/browse/SOLR-8240
Project: Solr
Issue Type: Bug
Components: update
Affects Versions: 5.3.1
Reporter: Mikhail Khludnev
since SOLR-6633 most of published JSON examples doesn't work in
{{techproducts}} exmple, it provides unpleasant user experience.
see [comment
1|https://cwiki.apache.org/confluence/display/solr/Uploading+Data+with+Index+Handlers?focusedCommentId=61326627#comment-61326627]
and [comment
2|https://issues.apache.org/jira/browse/SOLR-6304?focusedCommentId=14988279&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14988279]
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,}}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]