You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm working on a new JSON-API application on top of ElasticSearch. So far I've got it to the point where it's able to properly query and return results from the database, however when I try to implement a query like:
filter[age]=gt:18&filter[age]=lt:35
The first filter gets replaced by the second. This isn't ideal and so far I haven't been able to find a way around it. Ideally I'd expect the op.params.filter to look something like:
{age: ["gt:18","lt:35"]}
That would be fairly straightforward to parse through and would make it easy to detect if the queries could be combined into a range operator under the covers, for example.
The text was updated successfully, but these errors were encountered:
I'm working on a new JSON-API application on top of ElasticSearch. So far I've got it to the point where it's able to properly query and return results from the database, however when I try to implement a query like:
filter[age]=gt:18&filter[age]=lt:35
The first filter gets replaced by the second. This isn't ideal and so far I haven't been able to find a way around it. Ideally I'd expect the op.params.filter to look something like:
That would be fairly straightforward to parse through and would make it easy to detect if the queries could be combined into a range operator under the covers, for example.
The text was updated successfully, but these errors were encountered: