[
https://issues.apache.org/jira/browse/SOLR-4921?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13692054#comment-13692054
]
Grant Ingersoll commented on SOLR-4921:
---------------------------------------
bq. Can we add the sample doc back to the textarea if you click on it and then
remove focus without writing anything? The only way to restore the example in
the textarea is to reload the "Documents" tab.
Yeah, we can make that happen, although I don't know if it is a big deal. The
whole idea of the sample document is just to give an idea of what it looks like
bq. If I choose "Document Builder" and add a bunch of fields but click on the
auto-generated "Document(s)" textarea the whole textarea is wiped clean. Why is
that? We can allow the user to edit it or else we can make the textarea
read-only.
Good catch. I thought about making it read-only, but thought not too in case
someone wanted to edit it by hand (since that is the only way to remove
mistakes). Probably best to have the "focusin" event only remove the text if
we aren't in Doc builder mode
bq. Once a field has been added the textarea should be emptied
Consider it done.
> Support for Adding Documents via the Solr UI
> --------------------------------------------
>
> Key: SOLR-4921
> URL: https://issues.apache.org/jira/browse/SOLR-4921
> Project: Solr
> Issue Type: New Feature
> Components: web gui
> Reporter: Grant Ingersoll
> Assignee: Grant Ingersoll
> Priority: Minor
> Fix For: 4.4
>
> Attachments: SOLR-4921.patch, SOLR-4921.patch, SOLR-4921.patch,
> SOLR-4921.patch, SOLR-4921.patch, SOLR-4921.patch, SOLR-4921.patch,
> SOLR-4921.patch, SOLR-4921.patch, SOLR-4921.patch, SOLR-4921.patch,
> SOLR-4921.patch, SOLR-4921.patch, SOLR-4921.patch, SOLR-4921.patch,
> SOLR-4921.patch
>
>
> For demos and prototyping, it would be nice if we could add documents via the
> admin UI.
> Various things to support:
> 1. Uploading XML, JSON, CSV, etc.
> 2. Optionally also do file upload
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]