You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-dev@jackrabbit.apache.org by Michael Lemler <mi...@namics.com> on 2015/09/21 10:11:47 UTC
Question about the Oak Query Index
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?
Best regards
Michael
Re: Question about the Oak Query Index
Posted by Davide Giannella <da...@apache.org>.
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
Re: Question about the Oak Query Index
Posted by Thomas Mueller <mu...@adobe.com>.
Hi,
I will change the documentation to "Oak does not index _as_much_ content
by default as does Jackrabbit 2".
Regards,
Thomas
On 21/09/15 10:11, "Michael Lemler" <mi...@namics.com> wrote:
>Oak
>does not index content by default as does Jackrabbit 2