Created a Lucene index under : \jcr_root\_oak_index\.content.xml
<indexPage jcr:primaryType="oak:QueryIndexDefinition" includePropertyTypes ="[jcr:title,jcr:description]" type="lucene" async="async"/>
When package gets deployed ,I see a Warning message org.apache.jackrabbit.oak.plugins.index.lucene.IndexDefinition Unknown property type: jcr:title & org.apache.jackrabbit.oak.plugins.index.lucene.IndexDefinition Unknown property type: jcr:description
Any idea why this message for jcr:title ?
Solved! Go to Solution.
Views
Replies
Total Likes
Hello,
You mapping is not correct as error suggested
1. IncludePropertyTypes should be primary type of attribute like String, Binary etc... if expected more than a type then [String, Binary]
2. PropertyName (name[]) should be name of property
3. type should define which type of property is it like property, ordered, lucene etc... in your case it is property
Please correct it and hope it will work, please refer OOTB index definition.
Thanks,
Pawan
Hello,
You mapping is not correct as error suggested
1. IncludePropertyTypes should be primary type of attribute like String, Binary etc... if expected more than a type then [String, Binary]
2. PropertyName (name[]) should be name of property
3. type should define which type of property is it like property, ordered, lucene etc... in your case it is property
Please correct it and hope it will work, please refer OOTB index definition.
Thanks,
Pawan
Views
Likes
Replies