[
https://issues.apache.org/jira/browse/SOLR-13689?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17910282#comment-17910282
]
Eric Pugh commented on SOLR-13689:
----------------------------------
Wow... It's kind of a mess... There are multiple ways of doing everything.
export and json format, use bin/post. export and jsonl, use curl and
/update/json/docs. export and javabin, use /update, but only the v1 version.
There is no v2 version!
Also, bin/solr export by default exports everything, and you otherwise need to
pick and choose via --fields. I'm thinking that maybe we would rather
bin/solr export ignore copy fields by default. Is there a use case where you
would want them? And if you want them then use --fields. Secondly, maybe we
want a --ignore-fields that if you specify a field there it gets ignored. So
you could export everything BUT a few?
Oh, and we have CBOR for indexing. But no bin/solr export support for that.
And lastly, should export be leveraging solr streams and the /export end point
instead?
> add a command line option bin/solr import to import jsonl/javabin file
> -----------------------------------------------------------------------
>
> Key: SOLR-13689
> URL: https://issues.apache.org/jira/browse/SOLR-13689
> Project: Solr
> Issue Type: Bug
> Reporter: Noble Paul
> Priority: Major
>
> example
> {code}
> bin/solr import -url [http://localhost:8983/solr/gettingstarted] -file
> data.javabin
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]