Skip to content

What is the max limit for search hits? #216

@Hegghammer

Description

@Hegghammer

When I search for something that (presumably) yields a lot of hits, I get a JSONDecodeError. If I narrow the chronological window, it works. What is the max number of items that the system can return?

This, for example, yields a JSONDecodeError:

import dhlab as dh
kp = dh.Corpus(
  doctype="digavis",
  fulltext="miljøvern",
  from_year="1970",
  to_year="2023",
  limit=10000000,
  )

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions