Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

solrconfig.xml includes 4 custom files located in {Datafari_Home}/solr/solr_home/FileShare/conf/customs_solrconfig:

  • custom_libs.xmlincl: Used to add new jar libraries that Solr should load. For exemple, to use the ontology feature of Datafari, the Apache Jena lib directory will be added in this file
  • custom_request_handlers.xmlincl:  Used to add new request handlers
  • custom_search_components.xmlincl: Used to add new searchComponents
  • custom_update_processors.xmlincl: Used to add new updateProcessors. The updateProcessors that you will specify in this file will be added to the 'datafari' updateRequestProcessorChain (refer to the solrconfig.xml)

These files are not loaded automatically by Solr. As Datafari is using SolrCloud, to take these custom files into account, you must upload them to Zookeeper and then reload the Solr core


schema.xml also includes 4 custom files located in {Datafari_Home}/solr/solr_home/FileShare/conf/customs_schema:

  • custom_copyFields.xmlincl: Used to add new copyFields to the FileShare core. An example on how to define custom copyField can be found in custom_copyFields.xmlincl.example
  • custom_dynamicFields.xmlincl: Used to add new dynamicFields to the FileShareCore. An example on how to define custom dynamicField can be found in custom_dynamicFields.xmlincl.example
  • custom_fields.xmlincl: Used to add new fields to the FileShare core. An example on how to define custom field can be found in custom_fields.xmlincl.example
  • custom_fieldTypes.xmlincl: Used to add new fieldTypes to the FileShare core. An example on how to define custom field can be found in custom_fieldTypes.xmlincl.example

These files are not loaded automatically in the schema. To do that, you should use the script {Datafari_Home}/solr/solr_home/FileShare/conf/customs_schema/addCustomSchemaInfo.sh to load the custom schemas information in Datafari through the schema API of Solr.

...

of

...

Solr.

...