View Component 25.1
View Component Help

# Configure the Number Index Process

You can configure the Content component to index numeric and alphanumeric fields in several ways by using the configuration parameter `IndexNumbers`. Set `IndexNumbers` to one of the following values to specify how Content treats numbers:

0 | Numbers are not indexed.
1 | All numbers are indexed (irrespective of whether they appear on their own or as part of a word).
2 | Numbers are indexed only if they are part of a word (for example DRE4, Y2K and so on).

To restrict this to a narrower set of data, use the field processing property `IndexNumbersType`. Create an `IndexNumbersFields` section and specify which fields qualify. You can limit only terms that are indexed within the field property.

For example:

    [English]
    IndexNumbers=2

    [IndexNumbersFields]
    PropertyFieldCSVs=*/MYFIELD
    Property=IndexNumbers

    [IndexNumbers]
    IndexNumbersType=True
    IndexNumbers=2

This means that Content indexes the numeric terms in `*/MYFIELD` that satisfy `IndexNumbers=2` (non-numeric and mixed-alphanumeric), whereas all other fields index with `IndexNumbers=1` (all numeric terms).

NOTE: If the `IndexNumbers` configuration parameter is not specified in a property section, its default is `0`.

You can also limit the indexing of numeric or mixed-alphanumeric terms by the length of the term.

For example:

    [IndexNumbers1]
    IndexNumbersType=True
    IndexNumbers=1
    IndexNumbers1MaxLength=5
    IndexNumbers2MaxLength=6

This means that fields with this property have all numbers indexed, assuming the language has `IndexNumbers=1` configured, except for pure numeric terms longer than five characters, which are not indexed. Alphanumeric terms longer than six characters are also not indexed.

NOTE: You cannot set the length to more than 255.

Copyright 2024 Open Text
Version 25.1 | Last updated January 2025

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: Knowledge Discovery View Component 25.1

Topic Title: Configure the Number Index Process