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
Solved! Go to Solution.
Views
Replies
Total Likes
Hi
Adding more reference for your help:-
//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
Views
Replies
Total Likes
Make use of tag predicate. https://docs.adobe.com/docs/en/cq/5-6-1/dam/customizing_and_extendingcq5dam/query_builder.html
Views
Replies
Total Likes
Hi
Adding more reference for your help:-
//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
Views
Replies
Total Likes
See this article that will point you in correct direction. https://helpx.adobe.com/experience-manager/using/customtags1.html.
Views
Replies
Total Likes
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
Views
Replies
Total Likes
Views
Likes
Replies