GeoLeaf Core API - v3.19.0
    Preparing search index...
    • containsAllTerms for a text ALREADY normalized — the form an index keeps, so a keystroke over a large layer does not normalize every value again. Same rule, one place.

      Parameters

      • normalized: string

        A text passed through normalizeText.

      • terms: readonly string[]

        Normalized terms.

      Returns boolean

      true when every term occurs in the text — true as well for no term.

      matchesNormalized(normalizeText("Le Récif"), searchTerms("recif")); // true