I am able to define filters inside my "PnP - Search Filters" using managed properties which are not defined as Refinable inside the Search Schema

john john 1,021 Reputation points
2021-11-24T23:12:49.717+00:00

I added the PnP Modern Search web part from this link @ https://github.com/microsoft-search/pnp-modern-search/releases . and inside the "PnP - Search Filters" i defined 2 managed properties (AuthorOWS + CreatedBY), as follow:-

152413-filter1.png

And i were able to filter my "PnP search Result" web part based on these 2 fields, as follow:-

152320-refiners.png

Now i thought that this will not work, as inside our SharePoint Admin Center >> Search Schema >> Managed Properties >> both managed properties (AuthorOWS + CreatedBY) have their Refinable property as No, as follow:-

152385-refner.png

So my question is, how i were able to filter using 2 managed properties which are not Refinable?

Thanks

Microsoft 365 and Office | SharePoint | Development
Microsoft 365 and Office | SharePoint | For business | Windows
{count} votes

1 answer

Sort by: Most helpful
  1. Allen Xu_MSFT 13,866 Reputation points
    2021-11-25T08:29:40.56+00:00

    Hi @john john ,

    As per my test, the managed properties which are not refinable works well in my PnP search filter web part. So what's wrong exactly with them in your scenario? Did you connect the PnP search filter web part to the search result web part correctly?
    152468-image.png

    ----------

    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.