The IndexNumbers
configuration parameter defines how to handle numbers during indexing. It has the following options:
Option | Description |
---|---|
0 | Do not index any numbers. |
1 | Index all numbers. |
2 | Index numbers that occur as part of a word. |
These values apply only to index fields (that is, fields that are processed linguistically)
You can set the IndexNumbers
parameter in the configuration section for an individual language, and it applies to all documents in a language. You can then restrict it further by applying a more restrictive setting to a particular field.
You might index all numbers in the title and other index fields, but only index alphanumeric terms in the main content field, to reduce the number of terms in the index.
|