ruflin / Elastica

Elastica is a PHP client for elasticsearch
http://elastica.io/
MIT License
2.26k stars 736 forks source link

Query DSL Missing #1610

Open EliuFlorez opened 5 years ago

EliuFlorez commented 5 years ago

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?

ruflin commented 5 years ago

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

EliuFlorez commented 5 years ago

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

ruflin commented 5 years ago

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