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.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.