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

    Function textProblem

    • Why value cannot be sent as a text value (the search text q, the tag query, a Solr filter, an action() parameter value), or undefined when it can. Refused, before any request, as GovData would match nothing or everything:

      • a value that is not a string, or is blank (isBlank): CKAN reads an empty parameter as "no filter";
      • a lone surrogate (half of a character, sent as U+FFFD);
      • a control character (but TAB, LF and CR) or a format character (a zero-width space, a soft hyphen, a bidi control; ZWNJ and ZWJ are allowed): pasted along, it makes the search find nothing, or something else (Solr splits a word at a zero-width space). The reason quotes the value with every invisible character escaped (quoteValue).

      Parameters

      • value: string

      Returns string | undefined