What is the difference between Query text and Refinement filters

john john 941 Reputation points
2021-11-24T23:19:17.58+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 Results" web=part, i have 2 sections; Query Text & Refinement filters, as follow:-

152339-2filters.png

So what is the difference between these 2 options? and when to use each?

Thanks

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
9,622 questions
SharePoint Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
2,668 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Echo Du_MSFT 17,116 Reputation points
    2021-11-25T09:05:55.913+00:00

    Hi @john john ,

    According to my research, there is generally no difference between Query text and Refinement filters. But Refinement filters only supports to Refinable Managed Properties.

    Here is a good Blog for you to read:

    Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. Please make sure that you completely understand the risk before retrieving any suggestions from the above link.

    Thanks,
    Echo Du

    ===========================================

    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.