lucene/solr/example/files
Erik Hatcher 6f82f47655 Remove prematurely committed files
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1652759 13f79535-47bb-0310-9956-ffa450edef68
2015-01-18 14:21:25 +00:00
..
README.txt Fix Solr smoke tests: SYSTEM_REQUIREMENTS no longer exists where it was testing for it (merged from r1652718) 2015-01-18 10:02:59 +00:00

README.txt

bin/solr stop
rm -Rf server/solr/files/

# templates extracted with:
#    unzip  -j dist/solr-velocity-*.jar velocity/* -x *.properties -d example/files/templates/
bin/solr start -Dvelocity.template.base.dir=<absolute path to example/files/templates>
# TODO: make it so an install dir relative path can be used somehow?
bin/solr create_core -c files
bin/post -c files ~/Documents
curl http://localhost:8983/solr/files/config/params -H 'Content-type:application/json'  -d '{
"update" : {
  "facets": {
    "facet.field":"content_type"
    }
  }
}'