Expand my Community achievements bar.

SOLVED

Asset Share search not returning asset after moving/renaming tag

Avatar

Level 2

We are using Asset Share and we have a number of Assets that were tagged with a particular tag.  We had a requirement to rename the tag.  We chose to update the name by "moving" the tag - though we placed it under the same path that is was previously.  By using "move", we are able to update both the name and the title of the tag.  However after moving/renaming the tag this way, we are no longer getting results when we search by the new tag name.  And we still get results when we search using the old (removed) tag name.

 

Can anyone help me to understand whats going on here?

1 Accepted Solution

Avatar

Correct answer by
Level 7

Please refer to the following Adobe documentation:

Your old tag is still present in CRX with the cq:movedTo property pointing to the new tag value. The index is also present at:

/oak:index/cqTagLucene/indexRules/cq:Tag/properties/cqMovedTo

However, this index only tracks cq:movedTo and not cq:backlinks.

Unless your pages containing the old tag reference are modified (e.g., by updating tags), AEM will not automatically replace the old reference with the new one.

To ensure a complete update, it is best to write a Groovy script that updates all old tag references in your pages/assets to the new tag manually.

View solution in original post

3 Replies

Avatar

Correct answer by
Level 7

Please refer to the following Adobe documentation:

Your old tag is still present in CRX with the cq:movedTo property pointing to the new tag value. The index is also present at:

/oak:index/cqTagLucene/indexRules/cq:Tag/properties/cqMovedTo

However, this index only tracks cq:movedTo and not cq:backlinks.

Unless your pages containing the old tag reference are modified (e.g., by updating tags), AEM will not automatically replace the old reference with the new one.

To ensure a complete update, it is best to write a Groovy script that updates all old tag references in your pages/assets to the new tag manually.

Avatar

Level 2

Thank you!

Avatar

Administrator

@laniweisbart Did you find the suggestion helpful? Please let us know if you need more information. If a response worked, kindly mark it as correct for posterity; alternatively, if you found a solution yourself, we’d appreciate it if you could share it with the community. Thank you!



Kautuk Sahni