You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Search object allows us to pass parameters such as the "request_timeout".
However, we cannot pass parameters to the FacetedSearch. Therefore, large requests will time out quickly.
We could easily integrate this feature by adding the following lines:
class FacetedSearch(object):
...
params = None
...
def search(self):
s = Search(doc_type=self.doc_types, index=self.index, using=self.using).params(**self.params)
return s.response_class(FacetedResponse)
...
I'm happy to do the changes and submit a pull request.
The text was updated successfully, but these errors were encountered:
The Search object allows us to pass parameters such as the "request_timeout".
However, we cannot pass parameters to the FacetedSearch. Therefore, large requests will time out quickly.
We could easily integrate this feature by adding the following lines:
I'm happy to do the changes and submit a pull request.
The text was updated successfully, but these errors were encountered: