Jan Høydahl created SOLR-18445:
----------------------------------
Summary: Let /update handler support JSONL / NDJSON
Key: SOLR-18445
URL: https://issues.apache.org/jira/browse/SOLR-18445
Project: Solr
Issue Type: Improvement
Components: update
Reporter: Jan Høydahl
Assignee: Jan Høydahl
Today we can POST JSON content to solr in a few formats:
* Plain JSON, single object
* Plain JSON, array of objects {{[\\{"id":"1"},\\{"id":"2"}] }}
* Custom commands format, e.g. {{{{}"add":{"doc":{…{}}}...}}}
This issue is to support [Newline delimited JSON|https://ndjson.com/] (ND-JSON
or JSONL).
The format may get its own {{/update/ndjson}} endpoint, but more importantly,
it will be auto selected on the {{/update}} endpoint if {{Content-Type:
application/x-ndjson}} is specified.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]