Skip to content

Commit

Permalink
search: increase max result window
Browse files Browse the repository at this point in the history
  • Loading branch information
drjova committed Dec 13, 2023
1 parent e7e6a7f commit dbe0488
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions scoap3/articles/documents.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@

@registry.register_document
class ArticleDocument(Document):
settings = {
"number_of_shards": 1,
"number_of_replicas": 0,
"max_result_window": 70000,
}

id = fields.TextField()
reception_date = fields.DateField()
acceptance_date = fields.DateField()
Expand Down

0 comments on commit dbe0488

Please sign in to comment.