[jira] Updated: (SOLR-85) [PATCH] Add update form to the admin screen
[ https://issues.apache.org/jira/browse/SOLR-85?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ryan McKinley updated SOLR-85: -- Attachment: SOLR-85-UpdatForms-RequestHandlers.patch 1) duplicate code cut/paste from CommitRequestHandler in XmlUpdateRequestHandler I moved the common code to a new file RequestHandlerUtils.java 2) the upload form assumes /update/xml is a registered requestHandler name which... I may have gone completely mad with this one, so a sanity check would be good! I made a FormRequestHandler that returns an HTML form for a given path if it has been registered. For example, if you had: requestHandler name=/admin/form class=...FormRequestHandler lst name=invariants str name=wtraw/str /lst lst name=forms str name=/update/xmlforms/update/xml.html/str srr name=/update/csvforms/update/csv.html/str /lst /requestHandler hitting: http://localhost:8983/solr/admin/form?path=/update/xml returns the html sitting in ${solr.home}/conf/forms/update/xml.html It replaces ${path} with the registered path. - - - - - - - Since the admin RequestHandler config scheme gets pretty unruly if you have to configure it is solrconfig.xml, I added a flag to the admin section to set where you want all the standard ones admin registerStandardHandlers/admin/registerStandardHandlers ... /admin If you put false it will not register the default paths. It will not overwrite any existing paths either. that is, if you manually register, /admin/file it will not put in the default one - - - - - The AdminHandlersSetupHelper automatically finds forms in the conf/forms/ directory that match registered handlers and registers them with the FormRequestHandler. - - - - - - I'm putting this up mostly for a sanity check. If you like the direction, i'll add more comments, documentation and clean things up. thanks [PATCH] Add update form to the admin screen --- Key: SOLR-85 URL: https://issues.apache.org/jira/browse/SOLR-85 Project: Solr Issue Type: New Feature Components: update Reporter: Thorsten Scherler Attachments: solar-85.png, solar-85.png, solar-85.with.file.upload.diff, solar-85.with.file.upload.diff, solar-85.with.file.upload.diff, solar-85.with.file.upload.diff, SOLR-85-UpdatForms-RequestHandlers.patch, solr-85-with-104.patch, solr-85-with-104.patch, solr-85-with-104.patch, solr-85.diff, solr-85.diff, solr-85.FINAL.diff It would be nice to have a webform to update solr via a http interface instead of using the post.sh. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (SOLR-85) [PATCH] Add update form to the admin screen
[ https://issues.apache.org/jira/browse/SOLR-85?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ryan McKinley updated SOLR-85: -- Attachment: SOLR-85-UpdatForms-RequestHandlers.patch [PATCH] Add update form to the admin screen --- Key: SOLR-85 URL: https://issues.apache.org/jira/browse/SOLR-85 Project: Solr Issue Type: New Feature Components: update Reporter: Thorsten Scherler Attachments: solar-85.png, solar-85.png, solar-85.with.file.upload.diff, solar-85.with.file.upload.diff, solar-85.with.file.upload.diff, solar-85.with.file.upload.diff, SOLR-85-UpdatForms-RequestHandlers.patch, SOLR-85-UpdatForms-RequestHandlers.patch, solr-85-with-104.patch, solr-85-with-104.patch, solr-85-with-104.patch, solr-85.diff, solr-85.diff, solr-85.FINAL.diff It would be nice to have a webform to update solr via a http interface instead of using the post.sh. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (SOLR-85) [PATCH] Add update form to the admin screen
[ https://issues.apache.org/jira/browse/SOLR-85?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ryan McKinley updated SOLR-85: -- Attachment: solr-85-with-104.patch slight change so it applies cleanly after SOLR-145 [PATCH] Add update form to the admin screen --- Key: SOLR-85 URL: https://issues.apache.org/jira/browse/SOLR-85 Project: Solr Issue Type: New Feature Components: update Reporter: Thorsten Scherler Attachments: solar-85.png, solar-85.png, solar-85.with.file.upload.diff, solar-85.with.file.upload.diff, solar-85.with.file.upload.diff, solar-85.with.file.upload.diff, solr-85-with-104.patch, solr-85-with-104.patch, solr-85-with-104.patch, solr-85.diff, solr-85.diff, solr-85.FINAL.diff It would be nice to have a webform to update solr via a http interface instead of using the post.sh. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
Re: Update via web (was Re: [jira] Updated: (SOLR-85) [PATCH] Add update form to the admin screen)
: can somebody remove the former attachments from 14/Dec/06 04:34 AM and : 14/Dec/06 04:36 AM from http://issues.apache.org/jira/browse/SOLR-85. : The only valid patch is solr-85.FINAL.diff it's relaly not that big of a deal .. if you reuse the same name for newer versions of a patch, the older versions get greyed out ... and even if you use a new name, clicking All above the list of Comments let's you see the All detials about hte history of the issue -- including which attachments were made when. -Hoss
[jira] Updated: (SOLR-85) [PATCH] Add update form to the admin screen
[ http://issues.apache.org/jira/browse/SOLR-85?page=all ] Thorsten Scherler updated SOLR-85: -- Attachment: solar-85.with.file.upload.diff The solar-85.with.file.upload.diff is further extending the current patch and makes the old diffs obsolete. I sadly have no power to remove the obsolete attachments. Sorry. This patch is providing a way to upload a update document. On Fri, 2006-12-15 at 04:57 +0100, Zaheed Haque wrote: ... Maybe you can add a file upload button. what I mean is that lets say you have a file data.xml or data.txt or data.tar.gzip (maybe gzip or tar format can be done later) with many solr records..like .. doc /doc etc.. more.. doc /doc Then you could uplaod that file and presto you updated the index.. that would be cool. I still would like to have the current textarea box its cool to be able to delete a doc/doc directly ot update a doc directly.. The current implementation is assuming the uploaded file is an xml document. [PATCH] Add update form to the admin screen --- Key: SOLR-85 URL: http://issues.apache.org/jira/browse/SOLR-85 Project: Solr Issue Type: New Feature Components: update Reporter: Thorsten Scherler Attachments: solar-85.png, solar-85.with.file.upload.diff, solr-85.diff, solr-85.diff, solr-85.FINAL.diff It would be nice to have a webform to update solr via a http interface instead of using the post.sh. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Updated: (SOLR-85) [PATCH] Add update form to the admin screen
[ http://issues.apache.org/jira/browse/SOLR-85?page=all ] Thorsten Scherler updated SOLR-85: -- Attachment: solar-85.png New screenshot including the new features. [PATCH] Add update form to the admin screen --- Key: SOLR-85 URL: http://issues.apache.org/jira/browse/SOLR-85 Project: Solr Issue Type: New Feature Components: update Reporter: Thorsten Scherler Attachments: solar-85.png, solar-85.png, solar-85.with.file.upload.diff, solr-85.diff, solr-85.diff, solr-85.FINAL.diff It would be nice to have a webform to update solr via a http interface instead of using the post.sh. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Updated: (SOLR-85) [PATCH] Add update form to the admin screen
[ http://issues.apache.org/jira/browse/SOLR-85?page=all ] Thorsten Scherler updated SOLR-85: -- Attachment: solar-85.png Screenshot of the extended admin screen [PATCH] Add update form to the admin screen --- Key: SOLR-85 URL: http://issues.apache.org/jira/browse/SOLR-85 Project: Solr Issue Type: New Feature Components: update Reporter: Thorsten Scherler Attachments: solar-85.png It would be nice to have a webform to update solr via a http interface instead of using the post.sh. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
Update via web (was Re: [jira] Updated: (SOLR-85) [PATCH] Add update form to the admin screen)
Hi all, can somebody remove the former attachments from 14/Dec/06 04:34 AM and 14/Dec/06 04:36 AM from http://issues.apache.org/jira/browse/SOLR-85. The only valid patch is solr-85.FINAL.diff TIA This new feature allows you to update your solr instance via web. For your convenience I add the a commit button to commit directly afterwards. Just add your update statement into the form and submit. Try with add doc field name=idSP2514N/field field name=nameSamsung SpinPoint P120 SP2514N - hard drive - 250 GB - ATA-133/field field name=manuSamsung Electronics Co. Ltd./field field name=catelectronics/field field name=cathard drive/field field name=features7200RPM, 8MB cache, IDE Ultra ATA-133/field field name=featuresNoiseGuard, SilentSeek technology, Fluid Dynamic Bearing (FDB) motor/field field name=price92/field field name=popularity6/field field name=inStocktrue/field /doc /add Hope this might be useful. salu2 -- thorsten Together we stand, divided we fall! Hey you (Pink Floyd)