Skip to content Skip to footer

How To Setup Solr?

from axonator.solr_schema import *

create_schema()
  • Go to SOLR_DIRECTORY/server/solr/axo_default_config/conf
  • Open solrconfig.xml with text editor.
  • Search name=”add-schema-fields” in editor.
  • Remove everything inside updateProcessor key & Add below provided code.
<str name="defaultFieldType">StringField</str>
  • Reload the core using following command
curl  "http://localhost:8983/solr/admin/cores?action=RELOAD&core=axo_default_config"

Was This Article Helpful?

0
0 Comments

There are no comments yet

Leave a comment

Your email address will not be published. Required fields are marked *

Close Bitnami banner
Bitnami