SP2013 standard licence. I am using the search result webpart. Can I filter on some column value? I already filtering on contenttype like this:

 Path:{SiteCollection.URL}  ContentType:NieuwsDetailPagina {searchboxquery}

I would like to add extra filter like columnx:TRUE. Columnx is a boolean column on Contenttype "NieuwsDetailPagina".

  • Have you looked into RefinableString? It allows you to map to any site columns, then you can use it within search filters. – Aveenav Aug 22 '14 at 14:22

You can locate the column in the Crawled Properties of the Search Schema settings. Usually it will be named ows_Columnx (based on your example above. In order to Query that column create a new Managed Property mapping the crawled property to your new Managed Property.

Perform a full crawl and the you can search for your field by using the ManagedPropertyName=1 for Boolean field types.

  • Can I use it in the search query like this?: Path:{SiteCollection.URL} ManagedPropertyName=1 ContentType:NieuwsDetailPagina {searchboxquery} – Ola Aug 25 '14 at 7:54
  • Yes, that's how I would do it. – Matthew McDermott Aug 25 '14 at 21:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.