# KeywordMode

CAUTION: `KeywordMode` is an advanced configuration option. In most cases, you do not need to change the default weighting options.

`KeywordMode` sets advanced keyword weighting options to allow you to customize and fine-tune how IDOL Server weights your search results.

For information about standard IDOL Query weighting (such as APCM weighting), refer to IDOL Expert. IDOL Expert also contains information about more usual methods for adjusting your query weighting, where appropriate, such as field weighting and custom term weights.

`KeywordMode` accepts the following values:

1 | Do not process agent weights or capitalization.
2 | Give all terms equal weights, and stop processing when there are MaxResults matches with 100% relevance scores. This option also does not weight occurrence or field, but it does attempt to weight by proximity.
4 | Memory map all numeric fields.
64 | Do not amend the weight by using capitalization.
128 | Do not amend the weight by the matching of multiple occurrences.
256 | Use `OR` as the default operator instead of `WNEAR`. In general, Micro Focus recommends that you use DefaultQueryOperator instead of this option.
512 | Use the same APCM weight for all terms except for agent terms. This option is similar to 2, but all other weighting is unaffected.
1024 | Use the same maximum number of occurrences in a single document for all terms (with potentially different base APCM weight). This option combined with 512 ensures consistent weighting across multiple Content indexes, while still allowing occurrence, field and proximity weighting. However, custom term weighting is the more usual method for achieving this (refer to IDOL Expert).
2048 | Do not amend the weight by using exact or inexact stemhash matching.
4096 | Do not process any links. This option can speed up processing by bypassing certain stages, but it disables link-dependent functionality.

To use a combination of these options, add the values together. For example, setting `KeywordMode` to 6 enables options 2 and 4.

Type: | String
Default: |
Required: | No
Configuration Section: | Server
Example: | `KeywordMode=64`
See Also: |

_FT_HTML5_bannerTitle.htm