: Ok, so my issue is that it must be a flat structure. Why isn't the JSON
: parser able to deconstruct the object into a flatter structure for indexing?
: Shouldn't it be able to take any valid JSON structure?
Becuase no one has contributed code to do it?
In general accepting any arbitrary JSON
It seems that you are using the bbyopen data. If have made up your mind on
using the JSON data then simply store it in ElasticSearch instead of Solr
as they do take any valid JSON structure. Otherwise, you can download the
xml archive from bbyopen and prepare a schema:
Here are some generic instru
bq: Shouldn't it be able to take any valid JSON structure?
No, that was never the intent. The intent here was just to provide
a JSON-compatible format for indexing data for those who
don't like/want to use XML or SolrJ or Solr doesn't index arbitrary
XML either. And I have a hard time imaginin
Ok, so my issue is that it must be a flat structure. Why isn't the JSON
parser able to deconstruct the object into a flatter structure for indexing?
Shouldn't it be able to take any valid JSON structure?
--
View this message in context:
http://lucene.472066.n3.nabble.com/Error-while-trying-to-lo
I don't believe Solr indexes arbitrary JSON, just as it
does not index arbitrary XML. You need the input
to be quite specific to how Solr expects the data,
it's a relatively flat structure. There is an example
in /solr/example/exampledocs/books.json that
will give you an idea of the expected format