Awesome. How long did it take? Personal: http://www.outerthoughts.com/ and @arafalov Solr resources and newsletter: http://www.solr-start.com/ and @solrstart Solr popularizers community: https://www.linkedin.com/groups?gid=6713853
On 20 October 2014 03:59, Noble Paul <noble.p...@gmail.com> wrote: > check https://issues.apache.org/jira/browse/SOLR-6633 > > On Fri, Oct 17, 2014 at 5:35 PM, Alexandre Rafalovitch <arafa...@gmail.com> > wrote: > >> I wonder how hard it would be to write an URP to just copy JSON from the >> request into a store-only field? >> >> Regards, >> Alex >> On 17/10/2014 1:21 am, "Noble Paul" <noble.p...@gmail.com> wrote: >> >> > The original json is is not stored the fields are extracted and the data >> is >> > thrown away >> > >> > On Fri, Oct 17, 2014 at 1:18 AM, Scott Dawson <sc.e.daw...@gmail.com> >> > wrote: >> > >> > > Noble, >> > > Thanks. You're right. I had some things incorrectly configured but now >> I >> > > can put structured JSON into Solr using the out-of-the-box >> > solrconfig.xml. >> > > >> > > One additional question: Is there any way to query Solr and receive the >> > > original structured JSON document in response? Or does the flattening >> > > process that happens during indexing obliterate the original structure >> > with >> > > no way to reconstruct it? >> > > >> > > Thanks again, >> > > Scott >> > > >> > > On Thu, Oct 16, 2014 at 2:10 PM, Noble Paul <noble.p...@gmail.com> >> > wrote: >> > > >> > > > 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 <sc.e.daw...@gmail.com >> > >> > > > 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 >> > > > >> > > >> > >> > >> > >> > -- >> > ----------------------------------------------------- >> > Noble Paul >> > >> > > > > -- > ----------------------------------------------------- > Noble Paul