Configuring for performing case insensitive searches

Federated searches in the content management system are relatively disconnected from the upload concept and they depend on datamaps for searches across repositories. If case insensitive search is chosen in the user interface, the element in the search predicate would be “switched” to the one described in the custom property and the search key would be upper-cased.

About this task

For a case insensitive search, the configured datamap would be provided with similar mappings called custom properties as described for adding content.

Procedure

  1. Add a DataMap.
    For example, SearchDM.
  2. Add an element corresponding to author_name for the repository.
    For example, AUTHOR_NAME_RESERVED.
    • Ensure that the datatype defined for these attributes is STRING.
    • Ensure that the AUTHOR_NAME_RESERVED is searchable and can be returned in a query.
    • Ensure that the proper “Supported Operators” are chosen from the screen.
  3. Add an element corresponding to author_name_up for the repository.
    For example, UPPER_OF_AUTHOR_NAME_RESERVED.
  4. Add a custom map between the two elements.
  5. Save the element and the configurations.
  6. Restart the Content Integrator so that the changes are reflected.
  7. Log in to Product Master and navigate to an item with a content management system type attribute and open up the search window.
  8. Select the content management system attribute on the item data entry screen. The content management search screen displays. The dm_author_name is listed.
    Note: Product Master adds two new options for case-insensitive searching in the search operator drop downs namely equal-ignorecase and like-ignorecase.
  9. Provide values for the element and choose one of the ignore case options from the drop-down and search.
  10. The ignore case searches at the backend and is performed against the UPPER_OF_AUTHOR_NAME_RESERVED element and not the dm_author_name element.