jackrabbit-oak

Lucene index: getting empty result while query

微笑、不失礼 提交于 2019-12-11 23:36:39
问题 I am trying to query with Lucene index but getting the empty result and below errors in the log, Traversal query (query without index): select [jcr:path] from [nt:base] where isdescendantnode('/test') and name='World'; consider creating an index [async] The index update failed org.apache.jackrabbit.oak.api.CommitFailedException: OakAsync0002: Missing index provider detected for type [counter] on index [/oak:index/counter] I am using RDB DocumentStore and I have checked index and node are

Jackrabbit Oak: Getting started and connect to a standalone repository via RMI

我是研究僧i 提交于 2019-12-11 07:39:12
问题 I am totally new to Jackrabbit and Jackrabbit Oak. I worked a lot with Alfresco though, another JCR compliant open-source content repo. I want to start a standalone Jackrabbit Oak repo, then connect to it via Java code. Unfortunately the Oak documentation is quite scarce. I checked out the Oak repo, built it with mvn clean install and then ran the standalone server (memory repository is fine for me at the moment for testing) via: $ java -jar oak-run-1.6-SNAPSHOT.jar server Apache Jackrabbit