postgresql_16:9.6.13.1 Configuration
PostgreSQL 16 > Appendixes > Additional Supplied Modules and Extensions > dict_int — example full-text search dictionary for integers > Configuration
The dictionary accepts three options:
- The
maxlenparameter specifies the maximum number of digits allowed in an integer word. The default value is 6. - The
rejectlongparameter specifies whether an overlength integer should be truncated or ignored. Ifrejectlongisfalse(the default), the dictionary returns the firstmaxlendigits of the integer. Ifrejectlongistrue, the dictionary treats an overlength integer as a stop word, so that it will not be indexed. Note that this also means that such an integer cannot be searched for. - The
absvalparameter specifies whether leading “+” or “-” signs should be removed from integer words. The default isfalse. Whentrue, the sign is removed beforemaxlenis applied.