Versions Compared

Key

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

...

A common place to define all Configurations related to all documents which are indexed & searchable by the solr are being defined in this file. Like the fields that can be searched, displayed and faceted (for each document category/type/format) cab be defined in the xml file 'DocumentConfig.xml' & conveyed to docstore.  A sample of this file is as given below:

4.1.1 Document Configurations File

...

/opt/docstore/properties/DocumentConfig.xml

...

   </documentCategory>

</documentConfig>

4.1.2 Field Definitions

...

A Field inside this configurations file can be defined with attribute id is the name of the field inside solr by which it can be represented or indexed, name is the one to be displayable name of the filed and type is its entity type.

...

Above is the example for the field of mapping type xpath.

4.1.3 Add/ Delete/ Update a Field Definition

...

Steps to Add / Update a new field to be added for indexing and display:

...