performance - Neo4j 2.0 are Cypher Queries From a Server Plug-in Cached? -


i know cypher queries cached when executed inside server plugin multiple times. however, if call plug-in multiple times, keep cache accrued during previous runs?

is there need make happen? right have parameter in server plugin function has graphdatabaseservice parameter so:

public iterable<string> getsearchresultcount( @source graphdatabaseservice graphdb, @description("the search criteria string") @parameter(name = "criteria", optional = false) string criteria)  

i use graphdb instantiate single executionengine , use both of them queries in server plug-in. enough ensure queries cached on multiple calls server plug-in?

i plan on warming cache on nightly routine, i'd make sure results being cached when call server plug-in.

yes, holding on singleton executionengine , graphdatabaseservice should have effect.


Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -