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:-

enter image description here

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


2 Answers 2


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:


What is the difference between Query text and Refinement filters


The big difference between two is based on it's data source and ability to utilize Tokens for dynamic queries.

Note that in SharePoint (as data source), you can use both. However, in Microsoft Search (Graph API), only Query template field is allowed.

Additional info see here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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