Riksdagsmonitor Intelligence Platform โ€” API Documentation - v1.0.30
    Preparing search index...
    • Resolve the effective full-text follow-up target for the current run.

      Resolution order:

      1. --full-text-for-all always wins and fetches the entire selected batch.
      2. --auto-full-text-top-n 0 explicitly disables the follow-up fetch.
      3. Long-horizon batches (--limit >= 30) enforce a minimum floor of LONG_HORIZON_FULL_TEXT_FLOOR so year-ahead style runs cannot silently stay at the old top-5 behaviour.
      4. Shorter-horizon runs preserve the caller-supplied top-N or null.

      Parameters

      • limit: number
      • autoFullTextTopN: number
      • fullTextForAll: boolean
      • docCount: number = 0

      Returns number