none
KQL query for specific column in specific list. RRS feed

  • Question

  • I am trying to use KQL in PNP Modern Search WebPart to restrict a search to specific column in a SharePoint list.

    The List has a Column which consists of a Hyperlink, which as you probably know has two parts "Link" and "Name" (separated by a comma)

    (contentclass:"STS_ListItem") 
    AND (path:"https://tenant.sharepoint.com/sites/SiteName/Lists/Listname") 
    AND (ows_SiteNameAndLink:)

    I have used the above to point it to specific list but the last AND has me confused and would appreciate some help to allow me to restrict the search to only search this one column.

    TIA.

    Monday, April 27, 2020 2:35 PM