hubmapconsortium / portal-ui

HuBMAP Data Portal front end
https://portal.hubmapconsortium.org
MIT License
11 stars 2 forks source link

Use query builder library for elasticsearch queries #2506

Open john-conroy opened 2 years ago

john-conroy commented 2 years ago

The number of queries and their complexity is growing, to clean up code and reduce effort we should use an es query builder library.

mccalluc commented 2 years ago

@john-conroy , if we will be staying with searchkit after all, would it make sense to use their Query DSL? There are places where we're using it now, and we could build on that.

This choice doesn't really need to be coupled to what we use for the rest of the UI... but unless there's a reason not to, I think it would make sense to pull from a single source.