Elastica icon indicating copy to clipboard operation
Elastica copied to clipboard

Query DSL Missing

Open EliuFlorez opened this issue 6 years ago • 3 comments

Hi guys. You know in the version 3.x of Elastica had Filter / Script but now in the version of ElasticSearch Everything that was before a Filter is now a Query, and according to the documentation of ElasticSearch 6.x Query / Script is still available in its version of the same form GeoBoundingBox, types, exists.

https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-type-query.html https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-script-query.html https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-geo-bounding-box-query.html

But in Elastica I do not have an equivalent in DSL. Possibly it will be implemented or not?

EliuFlorez avatar Feb 21 '19 19:02 EliuFlorez

As these seem to stay around in the long term, I think it would be good to add these.

ruflin avatar Mar 04 '19 13:03 ruflin

@ruflin The PR of type, script, geo I arrange them is simple the changes.

EliuFlorez avatar Mar 04 '19 22:03 EliuFlorez

Great. Could you open one PR for each to have them separate?

ruflin avatar Mar 05 '19 09:03 ruflin