lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yonik Seeley <yo...@heliosearch.com>
Subject Re: problem with replication/solrcloud - getting 'missing required field' during update intermittently (SOLR-6251)
Date Thu, 17 Jul 2014 16:27:11 GMT
On Wed, Jul 16, 2014 at 10:20 PM, Nathan Neulinger <nneul@neulinger.org> wrote:
> [{"id":"4b2c4d09-31e2-4fe2-b767-3868efbdcda1","channel": {"add":
> "preet"},"channel": {"add": "adam"}}]
>
> Look at the JSON... It's trying to add two "channel" array elements...
> Should have been:
[...]
> From what I'm reading on JSON - this isn't valid syntax at all.

It is valid... repeated keys are actually allowed by the JSON spec.
How we want to handle this particular situation at the Solr level is
another question.  It's also not clear how this causes intermittent
failures.


-Yonik
http://heliosearch.org - native code faceting, facet functions,
sub-facets, off-heap data

Mime
View raw message