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:
./scripts/export_db_data.rb
Then, run the script:
cd scripts
./export_db_data.rb
-- 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 -Djava.net.preferIPv4Stack=true -jar start.jar
and create a file /etc/authbind/byport/80 with execution permissions
to the relevant user.
-- Building solr index
. scripts/build_solr_index.sh
-- Sending a query to solr
. scripts/solr_query.sh query
Something went wrong with that request. Please try again.