Summary
The Search Query Modifier, as per the name, modifies the user-entered search query, which can then be used to refine the results as per the requirement. It takes away the burden from the end user of modifying the query.
In this chapter, we saw how to create a Search Query Modifier to meet the requirements. We started by understanding what a Search Query Modifier is and what its uses are.
We then created a Search Query Modifier and added it to a site by creating a custom search results page. After understanding the lifecycle methods, we updated our understanding of how to modify the user-entered query and use that modified query in a Web Part, which changed its behavior based on the modified query.
In the next chapter, we will look at the final SPFx extension, which is called an Adaptive Card Extension.