Return-Path: X-Original-To: apmail-lucene-solr-user-archive@minotaur.apache.org Delivered-To: apmail-lucene-solr-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5FC05174B1 for ; Thu, 16 Oct 2014 18:10:55 +0000 (UTC) Received: (qmail 25263 invoked by uid 500); 16 Oct 2014 18:10:48 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 25186 invoked by uid 500); 16 Oct 2014 18:10:48 -0000 Mailing-List: contact solr-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-user@lucene.apache.org Delivered-To: mailing list solr-user@lucene.apache.org Received: (qmail 25174 invoked by uid 99); 16 Oct 2014 18:10:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Oct 2014 18:10:47 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of noble.paul@gmail.com designates 74.125.82.43 as permitted sender) Received: from [74.125.82.43] (HELO mail-wg0-f43.google.com) (74.125.82.43) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Oct 2014 18:10:42 +0000 Received: by mail-wg0-f43.google.com with SMTP id m15so4370394wgh.14 for ; Thu, 16 Oct 2014 11:10:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=/5p6UIyXnrJZxlfVy8xBB5GUJPQrQeYsiBiFfMRqgwA=; b=AlwkbjysnmyztnakxCX9bxYbAKAKW7fFTxVffU/Kfkq3C8H7DSx700voDOiiWDxCHG I/RugCl/im5T9ml5VkLXRRBuCOoppLemHJJqsUXliOgYW3aWO/Ul8xBzNEd81uTxj8Gu rclLgHZLDsyx/AxnfCWXJIJzFC9oozXPnifC095UI50PNpCKA5Kx3B8ZLnmKE1Hh8my3 e/VhOT28wuVvLclSOVn5jf3Oe8xInMYTNXsyKusFVSNPyF5VgVCeEnr7bxwOGtP+ZqNa 3cbfXLbC7Yb9wIYUuqUIO75qzXSy0N9jj1AkR8uUY97AzHO4VvLX71WjsBOWod6I+SDZ BRJg== X-Received: by 10.180.21.163 with SMTP id w3mr8063784wie.66.1413483021390; Thu, 16 Oct 2014 11:10:21 -0700 (PDT) MIME-Version: 1.0 Received: by 10.180.103.74 with HTTP; Thu, 16 Oct 2014 11:10:01 -0700 (PDT) In-Reply-To: References: From: Noble Paul Date: Thu, 16 Oct 2014 23:40:01 +0530 Message-ID: Subject: Re: Custom JSON To: solr-user@lucene.apache.org Content-Type: multipart/alternative; boundary=047d7b6da43c62dd3305058e29ac X-Virus-Checked: Checked by ClamAV on apache.org --047d7b6da43c62dd3305058e29ac Content-Type: text/plain; charset=UTF-8 The end point /update/json/docs is enabled implicitly in Solr irrespective of the solrconfig.xml In schemaless the fields are created automatically by solr. If you have all the fields created in your schema.xml it will work . if you need an id field please use a copy field to create one --Noble On Thu, Oct 16, 2014 at 8:42 PM, Scott Dawson wrote: > Hello, > I'm trying to use the new custom JSON feature described in > https://issues.apache.org/jira/browse/SOLR-6304. I'm running Solr 4.10.1. > It seems that the new feature, or more specifically, the /update/json/docs > endpoint is not enabled out-of-the-box except in the schema-less example. > Is there some dependence of the feature on schemaless mode? I've tried > pulling the endpoint definition and related pieces of the > example-schemaless solrconfig.xml and adding those to the "standard" > solrconfig.xml in the main example but I've run into a cascade of issues. > Right now I'm getting a "This IndexSchema is not mutable" exception when I > try to post to the /update/json/docs endpoint. > > My real question is -- what's the easiest way to get this feature up and > running quickly and is this documented somewhere? I'm trying to do a quick > proof-of-concept to verify that we can move from our current flat JSON > ingestion to a more natural use of structured JSON. > > Thanks, > Scott Dawson > -- ----------------------------------------------------- Noble Paul --047d7b6da43c62dd3305058e29ac--