Construct ES queries in backend #1349
Labels
backend
changes to the django backend
code quality
code & performance improvements that do not affect user functionality
frontend
changes to the angular frontend
I'm making this issue mostly as reference point, as the idea has come up a few times (e.g. #1292 , #1099 )
For the most part, elasticsearch queries are constructed entirely by the frontend and forwarded to elasticsearch by the backend. There are some exceptions to this:
es_query
and an optional keytags
that specifies user tags to filter on.It would be more consistent if we moved the conversion to and from an elasticsearch query entirely to the backend and used an I-analyzer-specific "intermediary representation" in the API.
This makes it easier to implement certain features (such as tagging).
The text was updated successfully, but these errors were encountered: