Fellow Jackrabbits,

I discovered it was a *huge* effort and there is a *huge* lack in the
examples related to simply getting MongoDb up and running (as JCR) with
Lucene indexes getting properly used. Since this effort took me 2 solid
days and there are no great examples that come up via google i'm sharing my
example:

This code creates a Full Text Search on jcr:content, and an sorting
capability on jcr:lastModified:

https://github.com/Clay-Ferguson/meta64/blob/master/src/main/java/com/meta64/mobile/repo/OakRepository.java

I also just updated meta64 project to be using the 1.0.18 branch of the
Jackrabbit code, so it's all up to date stuff. I would highly recommend
adding this or a similar example right onto the Lucene page of the Oak
docs, because what I'm doing is exactly what everyone else wants, and
the documentation itself is just completely confusing and mind boggling
without a real example.

Cheers, and happy jackrabbiting.

Best regards,
Clay Ferguson
[email protected]
meta64.com​

Reply via email to