[
https://issues.apache.org/jira/browse/SOLR-15152?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17910174#comment-17910174
]
Eric Pugh commented on SOLR-15152:
----------------------------------
Thanks [~janhoy] for following up. This Jira has been on my list for maybe
the longest of any of the bugs! I kind of set it aside when I got stuck into
the CLI stuff, and haven't picked it up again since then.
Looking into it, there WAS some progress that went out in Solr 9.3... In
SOLR-16782 we actually fixed the most obvious bug, which was that we wrote out
JSON w/ Lines docs as ".json" and didn't have a ".json" JSON output formatter.
SOLR-16782: Export tool should export in JSON that matches Solr Import Format
(#1623)
So, in that case, I'm going to update this Jira to be more specific to the
current issue which is that nested docs aren't supported.
> Export Tool should export nested docs cleanly in .json, .jsonl, and javabin
> ---------------------------------------------------------------------------
>
> Key: SOLR-15152
> URL: https://issues.apache.org/jira/browse/SOLR-15152
> Project: Solr
> Issue Type: Improvement
> Components: SolrCLI
> Affects Versions: 8.8
> Reporter: Eric Pugh
> Assignee: Eric Pugh
> Priority: Major
> Labels: NestedDocuments, pull-request-available
> Time Spent: 4h 10m
> Remaining Estimate: 0h
>
> ExportTool doesn't properly handle anonymous child docs or nested docs. It
> also confuses the JSONL format with the JSON format.
> I'd like to have the JSON Lines format output as .jsonl, which is the
> standard, and have the JSON format to be a .json, which is the same output as
> if you wanted to post a Solr doc as a JSON to upload the data... This will
> let us round trip the data.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]