Forum Discussion

Toby958's avatar
Toby958
Copper Contributor
Jun 24, 2020

Using SharePoint's search bar to search for metadata tags?

I might be mistaken, but I'm fairly sure when I've used SharePoint in the past, the search bar can be used not only to find document titles, but to search for metadata tags also. I've noticed that this doesn't seem to work (any more?).

 

Does anyone know if this is something that can be enabled? It somewhat defeats the purpose of the search bar if tags can't be used, since we have a number of teams who have began utilising tags to improve the searchability of documents.

 

Thanks

  • Vertebre85's avatar
    Vertebre85
    Iron Contributor

    Quite old topic. Search in Sharepoint can be really complex.

    Tip If you create site column within the sharepoint site, it's easier to search than to create "library" column.

    When columns are created you can  play with the search schema to add your column in the search result.

    For example, i've created a managed property in the admin GUI that refer to several site columns from different sharepoint sites. 

    Using the aliases i can search then ONLY for the metadata and not in the content or file name.

    It's working on the main sharepoint page but also on a site or library level.

     

    • Toby958's avatar
      Toby958
      Copper Contributor

      Hi Paul de Jong 

       

      This is with regards to SharePoint custom columns on a document library, like below. Maybe I'm using the wrong terminology but we typically call these metadata tags.

       

       

      Our users want to be able to use the 'search this site' bar at the top of the screen to search for these specific tags, such as typing in "risk" and it showing all documents tagged with that. As mentioned before I recall this working fine when I first noticed it a year or so ago, but now when we try this we just see no results.

      • Paul de Jong's avatar
        Paul de Jong
        Iron Contributor

        Toby958 
        Clear, we are talking about the same fields.
        To investigate further I would start with:
        - check if you can search for words in the document title
        - check if you can search for words in the body of the document
        - are the columns of a special type? 

        The search bar works fine with custom columns in my tenant so the problem does not affect all tenants.

        Paul

Resources