Persisting or Caching query results for future retrieval speed up

Hello,

Is it possible to launch a query "X", and have the results persisted/cached/saved so that I may write a new query "Y" with definition (query X AND filter Z) so that it uses the results from query X to speed up the retrieval?

I am aware of reindex API, but this duplicates the data. I was hoping for a lighter/more elegant solution.

We were considering doing this because we have hierarchical relationships between our documents and we were looking to find a way to "store" higher-level documents for which the queries matched the lower-level documents. The idea is to then use the higher-level documents that were the result of the first query as a filter for further queries.

If anyone has any suggestions, we would greatly appreciate it.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.