| As for the caching of queries, I rather did not mean extracting entities from the cache. But I just mean a similar caching mechanism for lucene queries. Similar to entities with JPA queries, you can remember the partial results of lucene queries on two levels. Having a list of filter parameters you could remember the result for the same parameters in the L1 cache and in L2. |