I am trying to search pages tagged with a specific tag. I am using smart search result web part and in search condition I am using this
+DocumentTags:{%mytag%}
It does bring the pages tagged with that tag only. If a page has been tagged with the tag I am searching and other tags too It wont bring those pages. I am using standard analyzer type in indexing.
What am i missing here ?
Hi,
Can you try using something like
Required to have tag1 and tag2: +documenttags:(tag1+tag2)
+documenttags:(tag1+tag2)
when wanting tag1 and tag2 OR tag3 and tag4
+documenttags:((tag1+tag2) || (tag3+tag4))
Actually mytag is the tag text user would search so its just a variable. Problem is then when the tag is searched, it only bring back results of page with one tag, not the pages tagged with the mytag and other tags.
Please, sign in to be able to submit a new answer.