Re: Oak indexes

2017-05-09 Thread Alex Parvulescu
Hi, For completeness, here's the link where this is documented [0]. best, alex [0] http://jackrabbit.apache.org/oak/docs/query/lucene.html#luke On Mon, May 8, 2017 at 4:26 PM, Roy Teeuwen wrote: > Works like a charm, thanks > > Roy > > > On 8 May 2017, at 15:39, Vikas

Re: Oak indexes

2017-05-08 Thread Roy Teeuwen
Works like a charm, thanks Roy > On 8 May 2017, at 15:39, Vikas Saurabh wrote: > > Hi Roy, > > On Mon, May 8, 2017 at 6:52 PM, Roy Teeuwen wrote: >> Invalid directory at the location, check console for more information. Last >> Exception:

Re: Oak indexes

2017-05-08 Thread Vikas Saurabh
Hi Roy, On Mon, May 8, 2017 at 6:52 PM, Roy Teeuwen wrote: > Invalid directory at the location, check console for more information. Last > Exception: java.lang.IllegalArgumentException: A SPI class of type > org.apache.lucene.codes.Codec with name 'oakCodec' does not exist.

Re: Oak indexes

2017-05-08 Thread Roy Teeuwen
Hey Tommaso, Cool thanks. I tried it out, and when using luke-4.7.0 jar I get the following exception: Invalid directory at the location, check console for more information. Last Exception: java.lang.IllegalArgumentException: A SPI class of type org.apache.lucene.codes.Codec with name

Re: Oak indexes

2017-05-08 Thread Tommaso Teofili
Hi Roy, if you have copy on read enabled (it is by default) for the Oak Lucene index you should be able to take the index at their paths on the file systems and use Luke as per any other Lucene index (btw Oak is currently using Lucene 4.7.1). Hope it helps, Tommaso [1] :

Oak indexes

2017-05-08 Thread Roy Teeuwen
Hey all, I got a question relating the oak:indexes in Jackrabbit OAK. Is it possible to actually open these indexes and see what is inside them? I know it is possible to use Luke to open a Lucene index and query it manually, is this also possible for the property index and the Lucene index