Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
32 lines (18 sloc) 674 Bytes
-- Exporting data from the db to build solr index
First, set the path to rails app, in the file:
Then, run the script:
cd scripts
-- Running solr server
Normally, one would run the server with the command
java -jar start.jar
However, if you want to use authbind to run the server in port 80 with a
non-root user, you need to run it as follows:
authbind --deep java -jar start.jar
and create a file /etc/authbind/byport/80 with execution permissions
to the relevant user.
-- Building solr index
. scripts/
-- Sending a query to solr
. scripts/ query
Something went wrong with that request. Please try again.