cancel
Showing results for 
Search instead for 
Did you mean: 

Search by Tag possible?

bboeri
Champ in-the-making
Champ in-the-making
Is it possible to search by Tags? I know that I can find all documents that have a certain tag by clicking on the tag.  However, you can't do a boolean search by tags that way.  I thought there might be a way to search tags in a more complex search query, perhaps using the <property>:xyz expression where <property> might be the value "tag" or "tags."  But that doesn't work, because apparently tags are not properties.

Any suggestions to search by document tags in a boolean or advanced search expression?

Bob Boeri
2 REPLIES 2

arnoldschrijve1
Champ on-the-rise
Champ on-the-rise
Yep you can! Use:

        TAG:"myTagName"

vurquia
Champ in-the-making
Champ in-the-making
How can I configure alfresco advanced search to get elements with a tag???

I use:

"<field-visibility>
      <show id="cm:taggable" force="true" />
   </field-visibility>
   <appearance>
     <field id="cm:taggable">
      <control>
         <control-param name="compactMode">true</control-param>
         <control-param name="params">aspect=cm:taggable</control-param>
         <control-param name="createNewItemUri">/api/tag/workspace/SpacesStore</control-param>
         <control-param name="createNewItemIcon">tag</control-param>
      </control>
     </field>
  </appearance>"

Them execute a query:

http://localhost:8080/share/page/search?t=&q=%7B%22prop_cm_name%22%3A%22%22%2C%22prop_cm_title%22%3A...

with categories everything is  fine but the tags do not work.

I found this comment:

There is no configuration for this, solved this issue by re-coding getSearchResults(params) in search.lib.js by adding an entry of tags in query.
http://stackoverflow.com/questions/20995274/muliple-tag-search-in-advance-search-not-working-in-alfr...

Somebody can help me to do that?
That really resolve the problem?

Thanks,