pmscosta / DAPI-2021

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Instructions to use solr

  1. Copy steamgames folder to /server/solr/configsets
  2. In your solr folder, run ./bin/solr start -e cloud and select the defaults. When it asks for a collection name and a configset, write steamgames on both.
  3. You should have running on localhost:8983 solr with the created collection and correct schema.

You only need to do this the first them. On subsequent runs, you can simply run ./bin/solr start -e cloud -noprompt To stop solr, run ./bin/solr stop -all

You can index data with this command (make sure you are in solr folder):

./bin/post -c steamgames -params "f.categories.split=true&f.categories.separator=%3B&f.genres.split=true&f.genres.separator=%3B&f.platforms.split=true&f.platforms.separator=%3B" -type text/csv <path-to-your-csv-file>

About


Languages

Language:Python 99.5%Language:JavaScript 0.5%