schema.xml
The schema.xml file, installed in collectionSDL_Contenta_Sample\conf, contains the following fields used for indexing and querying:
ID—the unique key that links data to a specific Contenta object. The key is comprised of the Contenta object’s configuration ID and object ID. Example: 6_123, where 6 is the object ID of the configuration (or project) containing the object and 123 is the object ID of the object.
NAME—the name of the Contenta object.
Example: S1000DBIKE-AAA-D00-00-00-00AA-042A-A
TYPE—the Contenta object type.
Example: DModule
METADATA—is defined as a multi-valued type that contains all the property data values for the given Contenta object. The field type is case-insensitive. The property data is stored as a string.
Example: If the property data value is "First Verification," an exact string match is "First Verification." When searching METADATA, you will get a hit on "first" or "verification" or “first verification” no matter what the case of the characters in your search string.
Dynamic fields will be used when indexing custom property data in Solr. The dynamic field name in collectionSDL_Contenta_Sample\conf\schema.xml is named “*_S”. Except for the S1000D property data fields listed in Content and Property Sheet Data in XML, all property data fields are stored in this dynamically defined field. The actual name of the field in the Solr index will be the same as the property sheet field name in Contenta with all alpha characters converted to uppercase, all spaces replaced with an underbar and _S appended to the end.
Example: “Access Level” will be stored in a dynamic field named ACCESS_LEVEL_S.