Options for the fuzzy search on stake pool metadata

Hierarchy

  • FuzzyOptions

Properties

distance: number

Determines how close the match must be to the location.

fieldNormWeight: number

Determines how much the field length affects scoring.

ignoreFieldNorm: boolean

When true, the calculation for the relevance score will ignore fieldNormWeight.

ignoreLocation: boolean

When true, search will ignore location and distance.

location: number

Determines approximately where in the text is the pattern expected to be found.

minMatchCharLength: number

Only the matches whose length exceeds this value will be returned.

threshold: number

Maximum threshold. 0: exact match; 1: match everything.

useExtendedSearch: boolean

When true, it enables the use of unix-like search commands.

weights: {
    description: number;
    homepage: number;
    name: number;
    poolId: number;
    ticker: number;
}

Weights of metadata fields. Free positive values: they will be normalized internally.

Type declaration

  • description: number
  • homepage: number
  • name: number
  • poolId: number
  • ticker: number

Generated using TypeDoc