Expand my Community achievements bar.

SOLVED

Search asset by assetid

Avatar

Level 3

Has anyone enabled asset-id search in the search? We want to be able to search asset by asset-id in the asset tree? Is it just about enabling that property in oak:index or there is more to it?

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

I had a similar requirement(search with jcr:uuid)and just adding the jcr:uuid to the index worked.

 

image001.png

View solution in original post

6 Replies

Avatar

Correct answer by
Employee Advisor

I had a similar requirement(search with jcr:uuid)and just adding the jcr:uuid to the index worked.

 

image001.png

Avatar

Level 3
I will give it a try and mark accordingly. Appreciate your response

Avatar

Level 3
It worked. I had to re-index. I had missed that step. once re-indexed, it even did the auto-fill

Avatar

Employee

In AEM 6.5.5 uuid index exists OOTB: 

berliant_0-1594817880651.png

You should be able to run your search without any additional index tunning 

Avatar

Level 3
Can I send you a package. Added that but for whatever reason it still doesn't search in the top search. Wanted to send my node package to see if you can find the issue?

Avatar

Level 3
For now, at least no. I have 6.5.5 and when I search it in global search, I cannot use the asset it. It returns no assets found with that id