AEM 6.2 Search componet using tags | Community
Skip to main content
Level 2
September 1, 2016
Solved

AEM 6.2 Search componet using tags

  • September 1, 2016
  • 4 replies
  • 3217 views

Hi,

With the Search component, does anyone know how to filter the results via tags?

I have PDFs tagged as A and B - they are in the same folder location. Want only A to appear in the results.

thanks for any help

Michael

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 kautuk_sahni

Hi 

Adding more reference for your help:-

Link:- http://help-forums.adobe.com/content/adobeforums/en/experience-manager-forum/adobe-experience-manager.topic.html/forum__1uiq-we_need_to_onlyallo.html

//Filtering Tag options for DAM Tag Metadata fields

 

Link:- http://stackoverflow.com/questions/18912037/search-pages-with-a-tag-in-cq5

//Search pages with a Tag 

 

I hope this will help you.

~kautuk

4 replies

Sham_HC
Level 10
September 1, 2016
kautuk_sahni
Community Manager
kautuk_sahniCommunity ManagerAccepted solution
Community Manager
September 12, 2016

Hi 

Adding more reference for your help:-

Link:- http://help-forums.adobe.com/content/adobeforums/en/experience-manager-forum/adobe-experience-manager.topic.html/forum__1uiq-we_need_to_onlyallo.html

//Filtering Tag options for DAM Tag Metadata fields

 

Link:- http://stackoverflow.com/questions/18912037/search-pages-with-a-tag-in-cq5

//Search pages with a Tag 

 

I hope this will help you.

~kautuk

Kautuk Sahni
smacdonald2008
Level 10
September 12, 2016

See this article that will point you in correct direction. https://helpx.adobe.com/experience-manager/using/customtags1.html.

September 18, 2017

Response from Adobe :

Tag search works on OR condition therefore when you select Tags, it does a search and basis OR condition it fetches all results where either of the tags match.  So, this is the designed behavior. If you need AND condition, you would need to customize it. 

If i add a new param 'group.property.and=true', its returning AND condition results.

Any thoughts on which file I have to customize to add this new param ?

Thanks for your help again.

Arun

http://localhost:4502/bin/querybuilder.json?

p.hitwriter=full

&p.nodedepth=4

&type=cq:Page

&path=/content/soni

&fulltext=

&orderby=path

&0_daterange.property=jcr:content/cq:lastModified

&0_daterange.lowerBound=

&0_daterange.upperBound=

&1_property=jcr:content/cq:template

&1_property.operation=like

&1_property.value=

&2_group.property.270_value=soni:multitag_tag_1

&2_group.property.271_value=soni:multitag_tag_2

&2_group.property.272_value=soni:multitag_tag_3

&2_group.property=jcr:content/cq:tags

&2_group.p.or=true

&2_group.property.and=true

&p.guessTotal=1000

&p.limit=15

&p.offset=0