-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement QueryDSL filter #7081
Comments
Do you have a specific example of what you want this too look like? |
Ping? |
How to aggregate: How to filter? It looks like I've attempted something here and given up: |
Have to be researched and spec'ed. |
lib is simply missing range filters. We had a sort discussion about it recently, and it is not that hard to implement (I see not challenges) and it allows users to fetch data in portions. We use range filters extensively in internal XP methods. |
Doc: https://developer.enonic.com/docs/xp/stable/api/lib-content#query From the top of my head
|
We made an experiment with range filter and it didn't go very well. filters are made as json-type structures, and this makes them more attractive for use, but unfortunately it makes them more hard/impossible to use as well in cases where data type knowledge is required. |
when using a date filter, shouldn't we implicitly use the _datetime value in ES? Just like we do in other scenarios? |
Does anyone know the status of this issue? Will we support this? |
We can do date range queries in the new Query DSL epic. One of the next steps - to rewrite current filters to the same code base. So it potentially can be done in the same (or similar) syntax for filters. |
Renamed task to "query filter" because date range in automatically implemented as filters are implemented. In addition we need to implement |
exists is a separate feature #9603 |
To filter on dateRanges you currently have to build range queries using instant('...').
It would probably be much more efficient to have a dateRange filter instead.
Also it would make implementing dataRange facets much easier codewise.
filter
in queryexists
expressionThe text was updated successfully, but these errors were encountered: