From 6f1c5de38f7fe27c00353a64c4d0aaa22b249430 Mon Sep 17 00:00:00 2001 From: Shalin Shekhar Mangar Date: Wed, 27 Aug 2014 00:37:48 +0000 Subject: [PATCH] SOLR-6437: Managed schema is not enabled with /update/json and /update/json/docs request handlers git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1620768 13f79535-47bb-0310-9956-ffa450edef68 --- solr/CHANGES.txt | 2 +- .../solr/collection1/conf/solrconfig.xml | 23 ++++++++++++++ .../solrj/SolrSchemalessExampleTests.java | 30 ++++++++++++++++++- 3 files changed, 53 insertions(+), 2 deletions(-) diff --git a/solr/CHANGES.txt b/solr/CHANGES.txt index b300a7061b1..8132c51dca7 100644 --- a/solr/CHANGES.txt +++ b/solr/CHANGES.txt @@ -227,7 +227,7 @@ New Features a UUID into the unique Key field. (Vitaliy Zhovtyuk, hossman, Steve Rowe, Erik Hatcher, shalin) -* SOLR-6294: Remove the restriction of adding json by only wrapping it in an array in a +* SOLR-6294: SOLR-6437: Remove the restriction of adding json by only wrapping it in an array in a new path /update/json/docs (Noble Paul , hossman, Yonik Seeley, Steve Rowe) * SOLR-6302: UpdateRequestHandlers are registered implicitly /update , diff --git a/solr/example/example-schemaless/solr/collection1/conf/solrconfig.xml b/solr/example/example-schemaless/solr/collection1/conf/solrconfig.xml index 56481ae03f8..d46d778a450 100755 --- a/solr/example/example-schemaless/solr/collection1/conf/solrconfig.xml +++ b/solr/example/example-schemaless/solr/collection1/conf/solrconfig.xml @@ -1001,6 +1001,29 @@ + + + + application/json + add-unknown-fields-to-the-schema + + + + + + + application/json + add-unknown-fields-to-the-schema + false + + +