Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Oak indexing in aem 64 for dam:assetcontent

Avatar

Level 10

I was trying to run a query with type - dam:AssetContent and on running it in query builder ui I get the result but I see an error in the error login traversing and that there is no index while I mocked up the dam:asset index under oak:index in aem

property - metadata/cq:tags - throws no error while

property - metadata/customprop - throws traversal error

Custom prop is of type “long”

query

type- dam:AssetContent

path- /content/dam

property - metadata/customprop

property.value - 123

could i be missing something basic ? Please advise

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hey NitroHazeDev,

Adobe have recorded beautiful Gem on Indexing: Best Practices for Indexing and Queries in AEM Have you seen it(must see)?

By the sound of it, it looks like you are missing index for metadata/customprop.

We also have this brilliant tool that allows to create indexes easily[1]

[1] Oak Utilities : Index Definition Generator

Thank you!

Regards,

Peter

View solution in original post

3 Replies

Avatar

Correct answer by
Community Advisor

Hey NitroHazeDev,

Adobe have recorded beautiful Gem on Indexing: Best Practices for Indexing and Queries in AEM Have you seen it(must see)?

By the sound of it, it looks like you are missing index for metadata/customprop.

We also have this brilliant tool that allows to create indexes easily[1]

[1] Oak Utilities : Index Definition Generator

Thank you!

Regards,

Peter

Avatar

Level 10

So i did refer to it and created indices based on it but in vain . Then checked Oak Utilities : Index Definition Generator , validated and it looked right as well. I loved the generator url makes life easier

BUT the main part that was incorrect was the "async" that was a misspell.. wonder if i was dozing but yeah , correcting the spelling helped.

Thanks