내 커뮤니티 업적 표시줄을 확대합니다.

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.

해결됨

Lucene Index on jcr:title :

Avatar

Level 4

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 ?

1 채택된 해결책 개

Avatar

정확한 답변 작성자:
Level 9

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

원본 게시물의 솔루션 보기

1 답변 개

Avatar

정확한 답변 작성자:
Level 9

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