On 21/09/2015 09:11, Michael Lemler wrote:
> Hi there,
>
> I have a question about the indexes in Oak. The documentation
> (http://jackrabbit.apache.org/oak/docs/query/query.html) says that
> "Oak does not index content by default as does Jackrabbit 2". But
> later on in the part "Query Processing" there is a part saying "By
> default, the following indexes are available". So are there some
> indexes by default or not?
Oak itself does not index anything; but this behaviour depends by
repository initialiser. Or in other way on how you initialise the
repository.

So if you for example initiate a repository with something like

    Repository repo = new Jcr(new Oak()).createRepository();

behind the scenes the InitalContent will create the following indexes:
uuid, nodetype, counter, nodeReference.

https://goo.gl/dZy2s6

HTH
Davide


Reply via email to