rs-pro / mongoid-elasticsearch

DEPRECATED - Consider using SearchKick https://github.com/ankane/searchkick
MIT License
61 stars 23 forks source link

How to use things like `explain` and `scroll`? #26

Open prashaantt opened 7 years ago

prashaantt commented 7 years ago

I'm digging through the code but can't seem to get any of these kind of params to work. How exactly do I include them in my search?

I've tried Model.es.search(query, {scroll: '1m'}) but it doesn't get validated per the above linked code and seems to have no effect on the final search query at all. Is there another way to use it?