Question about the Oak Query Index

2015-09-21 Thread Michael Lemler

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

2015-09-21 Thread Davide Giannella
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

2015-09-22 Thread Thomas Mueller
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"  wrote:

>Oak 
>does not index content by default as does Jackrabbit 2