Information Retrieval (IR) expert parameters: ir_max_shallow_distance

Parameter

ir_max_shallow_distance

Description

This parameter defines the maximum number of letters in a search term that can differ from the indexed term during an Information Retrieval (IR) search. You can also use this parameter to turn off spelling correction.

IR spelling correction occurs when a term that is used in the query is not within the IR index files. IR examines all the terms in the index to determine the term that most closely matches the search term. If the number of changes required to change the query term to a known IR term is within the limits set by the ir_max_shallow_distance and ir_max_deep_distance:n parameters, then the query uses the IR term. This search process is also known as a fuzzy search.

Valid if set from

Server's operating system command prompt

Initialization file (sm.ini)

Requires restart of the Service Manager server?

Yes

Default value

1

Possible values

-1 (Disabled)

Number of letters different from search term (Enabled)

Example usage

Command line: sm -httpPort:13080 -ir_max_shallow_distance:2

Initialization file: ir_max_shallow_distance:2