On Fri, 2006-12-15 at 09:08 -0800, Yonik Seeley (JIRA) wrote:
Yonik Seeley commented on
> Cool stuff Thorsten!
> Things like this can increase the user-friendliness of Solr and make it easier to learn.
Yeah, and play around platform independent.
> To be safe though, perhaps there should be an "update" page so someone doesn't change an index with a single errant click?
Done this, updated patch attached.
> And make it easy to disable the update page from solrconfig.xml,
<!-- config for the admin interface -->
<!-- You can disable/enable the upload of update commands
via the update.jsp -->
> and put a comment telling people how it can be disabled.
I added further comments on the pages (index + update) how to change the behavior.
> "commit" and "optimize" buttons would be nice!
There is a commit checkbox, if you check it, after your update statements it will do as well a commit.
Not sure about the optimize button, what will it do?
> Some ideas for a "future" update page (doesn't need to be in this patch)
> - something that helps you build the XML... select a field, input value(s), and have a "generate request" button so you can see what is about to be sent.
yeah that would be nice
> - show some update statistics... number of pending documents, etc
> - support for future update syntaxes (CSV?)
see my comment before, I reckon the best way would be that the cvs becomes an input plugin and returns xml instead actually handle the request. Then the default input plugin (if no other input plugin is selected) would be a xml plugin, treating the Stream as is.
> - ability to select files to upload
you mean, more then one file? Yeah, should not be too hard.
Anyway like you stated "future update page", maybe best to apply this patch and we open a new one for the mentioned enhancements.