SOLR

Front End examples for SOLR.
https://github.com/evolvingweb/ajax-solr
https://github.com/evolvingweb/ajax-solr/blob/master/README.md
http://wiki.apache.org/solr/Flare
https://github.com/projectblacklight/blacklight/wiki/Examples

https://github.com/evolvingweb/ajax-solr
http://localhost:8080/solr/examples/reuters/index.1.html

SOLR Tomcat Problems..

http://stackoverflow.com/questions/10275932/exception-fixing-docbase-for-context-error-in-opening-zip-file-when-starting-s
http://stackoverflow.com/questions/10026014/apache-solr-configuration-with-tomcat-6-0
http://architects.dzone.com/articles/install-solr-43-pay-attention

How can I delete all documents from my index?

Use the "match all docs" query in a delete by query command: <delete><query>*:*</query></delete>

You must also commit after running the delete so, to empty the index, run the following two commands:

curl http://localhost:8983/solr/update --data '<delete><query>*:*</query></delete>' -H 'Content-type:text/xml; charset=utf-8'  
curl http://localhost:8983/solr/update --data '<commit/>' -H 'Content-type:text/xml; charset=utf-8'

Another strategy would be to add two bookmarks in your browser:

http://localhost:8983/solr/update?stream.body=<delete><query>*:*</query></delete>
http://localhost:8983/solr/update?stream.body=<commit/>
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License