• Create new Index-Configuration in Project ddb-backend/Cortex/conf/solr
  • If additional LIbraries are needed for the new Index, copy libraries into directory ddb-backend/Cortex/lib
  • Build and deploy Project ddb-backend
  • As User solr create new Directory with name of the index below /data/ddb/tools/solr/data
  • Below new Directory create Subdirectory "data" + file core.properties with content: name=<nameOfIndex>
  • Check correct Access-Rights of Directories + Files
  • For master:
    • Below new Directory as user root create new Symbolic Link that points to config in Cortex-Project (ln s /data/ddb/Cortex/conf/solr/<index-name>/conf conf)
  • For Slave:
    • Below new Directory create Directory conf and copy all Files from ddb-backend/Cortex/conf/solr/<index>/conf to this directory
    • rename solrconfig_slave.xml to solrconfig.xml and adapt masterUrl of replicationHandler of slave. Replace http://SOLR_MASTER:8183 with url of master.
  • If additional Libraries are needed, create symbolic-link from /data/ddb/Cortex/lib/<jarfile>  to /data/ddb/tools/solr/current/server/solr-webapp/webapp/WEB-INF/lib/<jarfile>
  • Restart SOLR
  • No labels