What is the use of seed property in lucene oak index? | Community
Skip to main content
April 27, 2021
Solved

What is the use of seed property in lucene oak index?

  • April 27, 2021
  • 1 reply
  • 1946 views

Hi Adobe community

 

I'm trying to create a lucene oak index for commerce and in one of the existing indexes there was one seed property. I've checked the jackrabbit docs but didn't found anything about it. Does anyone have any information about this property, use case of it and when to use it?

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Ravi_Pampana

Hi,

 

Since version 4.0.0, EnsureOakIndex excludes property seed, and sub-tree [oak:QueryIndexDefinition]/facets/jcr:content]

Refer: https://github.com/Adobe-Consulting-Services/acs-aem-commons/issues/1609

 

Seed is a property used by oak that's used to generate random numbers used by the index. 

 

Hope this helps!

1 reply

Ravi_Pampana
Community Advisor
Ravi_PampanaCommunity AdvisorAccepted solution
Community Advisor
April 27, 2021

Hi,

 

Since version 4.0.0, EnsureOakIndex excludes property seed, and sub-tree [oak:QueryIndexDefinition]/facets/jcr:content]

Refer: https://github.com/Adobe-Consulting-Services/acs-aem-commons/issues/1609

 

Seed is a property used by oak that's used to generate random numbers used by the index. 

 

Hope this helps!

GK-007
Level 9
September 28, 2021

Hello Ravi,

We are in process of moving to AEM as a Cloud Service ,and as part of it we have run Best Practice Analyzer and in the report it's showing error related to this property.

{"data":{"path":"/oak:index/xxxxxx","violation":"seed property is not allowed"},"type":"index.rule.violation"}

 

If this property is not supported what's recommendation to fix this issue.Even this error is thrown for OAK indexes created for the WKND project as well.

 

Any thoughts!!!

 

Thanks

GK

December 7, 2023

Hi,

 

We are also in process of moving to AEMaaCS, I am also facing the same issue, have you got solution for this, if yes could you please share the solution.

 

Thank you,

Bhavana.