Re: difference in json update handler update/json and update/json/docs

2017-02-09 Thread Florian Meier
this was the right lead, thanks Alex > Am 08.02.2017 um 22:20 schrieb Alexandre Rafalovitch : > > /update/json expects Solr JSON update format. > /update is an auto-route that should be equivalent to /update/json > with the right content type/extension. > > /update/json/docs expects random JSON

Re: difference in json update handler update/json and update/json/docs

2017-02-08 Thread Alexandre Rafalovitch
/update/json expects Solr JSON update format. /update is an auto-route that should be equivalent to /update/json with the right content type/extension. /update/json/docs expects random JSON and tries to extract fields for indexing from it. https://cwiki.apache.org/confluence/display/solr/Transform

difference in json update handler update/json and update/json/docs

2017-02-08 Thread Florian Meier
dear solr users, can somebody explain the exact difference between the to update handlers? I’m asking cause with some curl commands solr fails to identify the fields of the json doc and indexes everything in _str_: Those work perfectly: curl 'http://localhost:8983/solr/testcore2/update/json?comm