Hi,
I am facing a problem in getting started with embedded Solr server in Oak 
v1.4.1 (that is bundled as part Oak). I understand that the embedded Solr 
server is started in-memory without any HTTP binding (for security reasons). I 
am setting the index properties at the time of our  repository initialization 
as follow:

index = oakIndex.child(propertyName + "-Index");

index.setProperty("jcr:primaryType", "oak:QueryIndexDefinition", Type.NAME)
     .setProperty("type", "solr")
     .setProperty("async", "async")
     .setProperty("propertyNames", Collections.singletonList(propertyName), 
Type.NAMES);
     .setProperty("reindex", true, Type.BOOLEAN);
Property name here is typically a metadata field name from my document e.g. 
createdBy
My questions are:

1.       How do I know that the embedded Solr server is running?

2.       If it is running why don't I see solr indexes under 
oak:index/PropertyName-Index created when I post a document?
Please let me know if I have to add any extra parameters to start the embedded 
solr server in Oak.

Thanks & Regards,
Soumya Jyoti Banerjee
(Sr. Software Engineer)
Ring : 8722181100
[cid:[email protected]]

Reply via email to