Closed dangerousbeans closed 10 years ago
There is two separate parameter hashes, one for Elasticsearch (it is passed directly to elasticsearch gem) and one for additional mongoid-elasticsearch parameters (pagination, load wrapper, etc)
self.es.search({body: {}}, {page: 1})
I'm trying to setup pagination, but including the
page
param is triggering some sort of whitelist.