Skip to content

Commit

Permalink
attempt to increase the search result
Browse files Browse the repository at this point in the history
  • Loading branch information
jrief committed May 16, 2020
1 parent 52127ee commit 9ceada7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions shop/search/documents.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ class Django:
model = ProductModel
fields = ['id']
ignore_signals = True # performed by ProductModel.update_search_index()
queryset_pagination = 499 # let DRF do the pagination

def __str__(self):
return "{} {}: {}".format(self.product_type, self.id, self.product_name)
Expand Down

0 comments on commit 9ceada7

Please sign in to comment.