You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Jan Høydahl (Jira)" <ji...@apache.org> on 2026/09/13 21:32:00 UTC

[jira] [Created] (SOLR-18445) Let /update handler support JSONL / NDJSON

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: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org