Adding a Contenta Configuration to the Solr Collection

A Solr Collection may contain one, many, or all Configurations from a given database. All configurations will be indexed by default. This is controlled by the AppData key, all_Configs, which is located under the collection key (“F18_Avionics_DB” in this example). If you do not want to index all of your configurations, you should add one or more Contenta configuration to a Solr collection.

About this task

To add a Contenta configuration to a Solr collection

Procedure

  1. In the left pane of AppData, expand {Global}, and then expand Collections.
  2. Click all_Configs, and then click Delete.
  3. Revise AppData to include the new configuration:
    • Click the collection name and expand the folder (“F18_Avionics_DB” in this example). See Editing AppData keys and values.
    • Click Insert.
    • Enter the desired configuration name.
    • With the new configuration name selected, click Insert Value.
    • In the Name field, enter IDPATH.
    • In the Value field, enter the idpath for the configuration you want to index.

      You obtain the configuration idpath from the IdPath column in Contenta. You should get the idpath from configurations under Sysadmin’s desktop. For example, /#1/#2/#4296. If you are using Contenta Web and the IdPath column is not visible, right click on any other column heading and check the box next to IdPath.

  4. Optionally, you can limit the object types that will be indexed.
    • With the new configuration name highlighted, click Insert Value.
    • In the Name field, enter STATUS_REPORTING.
    • In the Value field, enter true.
  5. With the new configuration name selected,
    • Click Insert Value.
    • In the Name field, enter OBJECT_TYPES.
    • In the Value field, enter the Contenta objects that you want index, separated by commas. If you do not specify certain Contenta object types, Solr will index all objects. S1000D object types include the following:

      DModule

      PModule

      Model

      System

      Subsystem

      Subsubsystem

      Issuer

      PMNumber

      Dispatcher

      Graphic object types (gif, jpg, png, and others)

      SCORMContentPackage

      Configuration

  6. Click OK.