On 18.05.2011, at 11:27, Lukas Kahwe Smith wrote: > Hi, > > I didnt find a good answer with some searching, my question is how search > queries (SQL2, XPath, OQM) relate to the Jackrabbit cache infrastructure. > > Am I understanding things properly that the searches themselves are not > cached by Jackrabbit, they are just send to Lucene which does its own > caching? However when the search results are then "enriched" with the actual > JCR nodes, Jackrabbit will use the cache to find the nodes. In other words > Jackrabbit only has a node cache, which is used when iterating over the > Lucene search results by Jackrabbit before returning the result set to the > client. > > Also what algorithm is used to determine what nodes should be removed from > the cache if the maximum cache size is reached? > > Finally what kind of cache size do people use in production?
Also there seem to be multiple caches, where is the right place to configure these, can I just add < param name="bundleCacheSize" value="xxx"/> to the persistence manager config? regards, Lukas Kahwe Smith [email protected]
