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
{{ message }}
This repository has been archived by the owner on Jun 30, 2018. It is now read-only.
Tire API accepts search_type option that works nice for the count search type but does not look like fitting well for the scan search -- which API handles in a different manner.
In order to reuse my search classes implemented over the Tire API, I would like to create an Elasticsearch scan query passing by search_type: scan with Tire.search instead of Tire.scan. I am, actually, able to assembly something really close to what I desire with the following code
Tire API accepts
search_type
option that works nice for the count search type but does not look like fitting well for thescan
search -- which API handles in a different manner.In order to reuse my search classes implemented over the Tire API, I would like to create an Elasticsearch scan query passing by
search_type: scan
withTire.search
instead ofTire.scan
. I am, actually, able to assembly something really close to what I desire with the following codeMajor issue seems to be the lack of an
each_document
method on the TireSearch
class.Any chances of achieving this behavior with the current API?
Thanks in advance!
The text was updated successfully, but these errors were encountered: