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

    Function parseQuery

    • Parse a query string. The syntax is intentionally tiny and documented in full:

      brücken zustand both terms must match (AND is the default) "marode brücke" an exact phrase, checked against the stored text -sanierung a term that must not appear +brücken zustand explicit requirement (same as the default)

      There is no OR operator and no wildcard: every construct a user can type has a single, obvious meaning, which matters more here than expressiveness.

      Parameters

      • query: string

      Returns ParsedQuery