In this article we will see how to create filters in google custom search using an example.
To add filters to Google Custom Search, log in to your search engine, go to Search features, then Refinements, then Add. Enter a refinement name and the optional keyword (for example, ceo), click OK, and open the demo URL to see a refinement that returns results containing that keyword.

I have created a custom search engine using gcs for searching user profiles on linkedin. We will see how we can find ceo profiles using refinements.
Refinements are labels that narrow search results in Google Custom Search. You create them under Search features, and each refinement uses optional word(s) to match results.
Steps to Filters to Google Custom Search
Create the refinement
- Login to your google custom search.
- Go to search features-> refinements-> Add

- Under refinement, name give the desired name.
- Under optional word(s) enter the deisred keywords ( ceo )
- Press ok.
Test the refinement
- Now open the demo URL.
- You can find a search refinement for ceos that bring up results with the keyword “ceo”.
Add Google custom Search to your website
The refinement shows results that contain the keyword “ceo”, as in this example of finding CEO profiles on LinkedIn from a custom search engine built with GCS.






