This file shows petty much everything I know... the sum total of my knowledge on indexes! : https://github.com/Clay-Ferguson/meta64/blob/master/src/main/java/com/meta64/mobile/repo/OakRepository.java
I was only able to cobble that code together using very scant information from various sources, and I *think* it works. Unless I just broke it with my last commit! Best regards, Clay Ferguson wcl...@gmail.com On Wed, Oct 28, 2015 at 9:20 PM, Peter Harrison <cheetah...@gmail.com> wrote: > I have moved from JackRabbit 2.X to JackRabbit Oak. I know that JackRabbit > Oak does not index as much as 2.X, and I am now getting the following > message in my query: > > Traversed 4000 nodes with filter ... consider creating an index or changing > the query. > > I have found the IndexUtils class, and some JavaDoc, but I can't see any > more detailed documentation on how it is used, or any examples. > > Where should I create the Index node in the tree? Does this control when a > property is indexed? Can you index only properties, or also node names? Are > node names already indexed? > > Thanks, > Peter >