@maschinenlesbar.org/govdata-cli
    Preparing search index...

    Function normalizeText

    • A free-text value as CKAN matches it: without surrounding whitespace (a value pasted with a trailing space matched nothing) and in composed Unicode, NFC (a decomposed "Gewässer", a plus U+0308 as pasted from a macOS file name, matched nothing the composed form matches: --fq "title:Gewässer" found 112 datasets live, the decomposed spelling 0). Inner whitespace is kept. Used for every text value (q, the tag query, Solr filters, action() parameter values); tokens go through normalizeToken. NFC changes no character of Solr's query syntax (all ASCII), so a query keeps its meaning; NFKC is not used, because it would rewrite characters (fi to fi, full-width forms) that a phrase or a wildcard may mean literally.

      Parameters

      • value: string

      Returns string