even though per_page and page are treated as part of query and are passed to ES resulting in a failing query, however they are options passed to escargot and should not be passed down to elastic search.
PS: there is a failing test, which was failing before I did my changes. I think it should pass, but I am not sure why it is failing.
1) Failure:
test_not_analyzed_property(Mappings) [./test/mappings_test.rb:30]:
<1> expected but was
<0>.
Accidently added activerecord commit to this one. Was trying to remove the commit from pull request but instead created a pull request. Closing this one in favor of #15
Queries written with
query_dsl => false
should also use options. The current implementation doesn't allow them. That is, when I doeven though per_page and page are treated as part of query and are passed to ES resulting in a failing query, however they are options passed to escargot and should not be passed down to elastic search.
PS: there is a failing test, which was failing before I did my changes. I think it should pass, but I am not sure why it is failing.