Upayavira created SOLR-8209: ------------------------------- Summary: Admin UI documents tab improvements Key: SOLR-8209 URL: https://issues.apache.org/jira/browse/SOLR-8209 Project: Solr Issue Type: Improvement Components: web gui Affects Versions: 5.3 Reporter: Upayavira Assignee: Upayavira
A newbie, when clicking on the 'documents' tab might expect to, well, see documents. Instead, they see a UI that very low level allows them to post JSON/XML to add documents, etc. This presumes knowledge of Solr APIs in order to make good use of it, which goes against the intention of the UI - to make it easier for people. In its place, I propose to show a data-grid. This grid will contain maybe the first 100 documents in the index. It could have infinite scroll (to a certain point) to show further documents. It will have "filter" options alongside the field headings, allowing the filtering of fields (exact term match filtering, or wildcarded). The left-most column will contain pencils. Clicking on this will bring up a form that allows a user to edit the document (We could be clever hear - if the index contains indexed fields that have content, we could warn people that content from those fields would be lost if documents containing those fields is re-indexed). At the top is a button which, when clicked, brings up a form that allows us to insert a new document. This will be a tabular view - the left column is field names (a dropdown) and the right a free text box for content. We could add an advanced button that brings up a q= box, allowing you to enter arbitrary queries. In time, this could expand to include a query builder - a bit like the query tab. We could add delete by query functionality here, too. We should probably have two buttons at the top - one that brings up a modal allowing the user to enter arbitrary JSON or XML for posting to Solr, and the other that brings up a modal allowing the user to upload a file from their filesystem - this means we retain the essential functionality that is currently present in the documents tab. Basically, we give a very straightforward view of the content of an index, much like one would in a relational database tool. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org