…currentThread#getContextClassLoader by default. https://docs.jboss.org/author/display/AS7/Class+Loading+in+AS7 At the same time, Neo4j org.neo4j.helpers.Service class uses java.util.ServiceLoader#load(Class serviceClass) call that tries to find service descriptions using context class loader. Therefore, if application creates instance of GraphDatabase deployed in separate Jboss7 module, it cannot find any custom service defined in that module. It affects both neo4j-connector and Spring data-graph/neo4j as well. Proposed patch tries to load services using context class loader first ( to not break any existing code if it relies on the current behavior ) and, if service not found, using classloader wich loads Neo4j kernel itself.
fixes #613: Missing dependencies not reported correctly for queries with RELATE/SET/DELETE
This reverts commit fcd004e.
Added basic multi line console to data browser.
…and matched agains the graph. Previously, the full pattern would be matched in one go. Now, MatchBuilder breaks down the pattern in one mandatory part, which includes all patterns that are double-optional paths. The double optional paths will next be matched, one after an other, in isolation from each other.
NOT should take parenthesis into consideration
Adding SQL vs. Cypher article to the docs.
Test case and fix for possible infinite recursion on log rotation
Some cleanup in the Cypher docs.
Uses the ClockCache to build a IndexSearcher cache that does not require synchonization on get(). Uses that to remove need for global lock when getting a searcher which is not closed and not stale. Removes the boolean stale flag from the pair stored in LuceneDataSource#indexReaders, folds it into IndexSearcherRef instead. Removed the incRef argument from getIndexSearcher, added CommitContext#close() instead. Increased the thread count in GetOrCreateTest, makes it fail more reliably
Added a new cache implementation that behaves approximately like LRU but does not lock on get()