I am working on Apache JackRabbit OAK (1.3.2).
I have created a node (MyNode) with the following structure and saved in the repository.
-- 'jcr:primaryType'=oak:Unstructured
-- 'name'='myNode'
I also created a lucene index to index all the properties as per the documentation.
However when i run the following query i get no results.
select * from [oak:Unstructured] where name='myNode'
And when the run the following query i get the saved 'MyNode' in result
'select * from [nt:base] where [jcr:primaryType]='oak:Unstructured' and name='myNode''
- Why am i not able to query with [oak:Unstructured], when this is declared nodeType
- How do i verify if i am able to leverage the lucene index created?
Thanks