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?commit=true' 
--data-binary @example/exampledocs/cacmDocs.json


curl 'http://localhost:8983/solr/testcore2/update?commit=true' --data-binary 
@example/exampledocs/cacmDocs.json -H 'Content-type:application/json'

But those two (both with update/json/docs) don't

curl 'http://localhost:8983/solr/testcore2/update/json/docs?commit=true' 
--data-binary @example/exampledocs/cacmDocs.json -H 
'Content-type:application/json‘

curl 'http://localhost:8983/solr/testcore2/update/json/docs?commit=true' 
--data-binary @example/exampledocs/cacmDocs.json

Cheers,
Florian 





Reply via email to