Selecting text languages or text analyzers for an object store

Select the CSS-based language codes or Elasticsearch-based text analyzers for indexing the documents in the object store.

About this task

You can choose a task based on the text search service that you configured for your object store:

Selecting text languages for an object store (Content Search Services)

To make searches as effective as possible, select a language set for the object store that reflects the languages of your documents. This selected language set constitutes the possible languages for a document. For example, if the possible languages are English and French, IBM Content Search Services identifies the language for a document as either English or French. This language identification occurs when the document is indexed.

About this task

Important: If the language for a document is misidentified, the document might not be findable by a language-aware search: only an exact-match search is guaranteed to work. Also, wildcard searches might be affected.

Procedure

To select the possible languages for indexing documents in an object store:

  1. Access the CBR-related properties in the administration console:
    1. In the domain navigation pane, click the object store.
    2. In the object store navigation pane, click the name of the object store (the top-level item).
    3. In the details pane, click the Text Search tab.
  2. In the Selected Languages field, select the possible languages.
  3. In the Default language field, select one text language as the default language.
  4. Save your changes.

Selecting text analyzers for an object store (Elasticsearch)

To make searches as effective as possible, select an analyzer set for the object store that reflects the analyzers of your documents. This selected analyzer set constitutes the possible analyzers for a document. For example, if the possible analyzers are English and French, Elasticsearch identifies the analyzer for a document as either English or French. This analyzer identification occurs when the document is indexed.

Procedure

To select the possible analyzers for indexing documents in an object store:

  1. Access the CBR-related properties in the administration console:
    1. In the domain navigation pane, click the object store.
    2. In the object store navigation pane, click the name of the object store (the top-level item).
    3. In the details pane, click the Text Search tab and then the Elasticsearch tab.
  2. In the Available Analyzers field, select the possible languages and move them to Selected Analyzers.
    If you change the list of text analyzers, a reindex is required. For more information about text analyzers, see topic Text analyzers.
  3. Save your changes.