diff --git a/app/parlamente.py b/app/parlamente.py index 907fe2f..2d0695d 100644 --- a/app/parlamente.py +++ b/app/parlamente.py @@ -754,12 +754,13 @@ class PortalaAdapter(ParlamentAdapter): return [] # Step 3: fetch the HTML hit list - # Take a generous chunk so the client-side title filter - # still has enough material to work with. Quick-win for #13 - # until the eUI sf-Index for real server-side fulltext is - # reverse-engineered: bump the unfiltered chunk floor and - # the query-filtered chunk ceiling. - chunksize = max(limit * 10, 500) if query else max(limit * 2, 100) + # Take a generous chunk so der client-side type-filter + # genug Material zum Filtern hat. Berlin-PARDOK ist + # dominiert von "Schriftliche Anfrage"-Hits und ohne + # server-side ETYPF-Filter (BE: document_type=None) liefern + # 100 Roh-Hits oft nur 1-2 Anträge. Floor bewusst hoch. + # Quick-win für #13 + #61 Bug 5. + chunksize = max(limit * 10, 1500) report_resp = await client.post( report_html, json={"report_id": report_id, "start": 0, "chunksize": chunksize},