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

    Class LobbyregisterClient

    Index
    • How many entries match a query.

      Uses pageSize: 1 rather than pageSize: 0. A live probe of /sucheJson (2026-06) showed the endpoint ignores pageSize for the returned results array entirely: both pageSize=0 and pageSize=1 return the full result set (e.g. all 2351 entries for q=Energie) while reporting the correct resultCount. pageSize=0 therefore does NOT yield an empty-results envelope and offers no download saving, so switching to it would not help. resultCount is read from whatever envelope comes back.

      Parameters

      • Optionalq: string

      Returns Promise<number>