The Art Of Building A Google Custom Search Engine – Bonus: Adding Complex Refinements

A major aspect of Custom Search Engines (CSE) is choosing and creating effective refinements. Refinements can hone in or focus your search engine on specific areas or aspects.

To Review:

A refinement is an extension of your site search/xray we created in the initial steps.  You can add a series of refinements (extended boolean strings) that can help focus your search in different areas:

Click “Add” and the following pop-up window appears.  Name your refinement and add your keywords string, then click “ok.”

 cse1

 

For example, if you wanted to search Linkedin for emails you could add a string like this:

Email Refinement:

 (“email me at * ” OR “@gmail.com” OR “@hotmail.com” OR “@ymail.com” OR “mailto: * “)

 

 

 

You can get pretty creative with these refinements, and they do support advanced operators like inurl: and intitle: (as well as one of my favorites, inanchor:).  For instance, following the email focus, you can create a similar refinement:

Email Refinement:

(“email me at * ” | intitle:@gmail.com | intitle:@hotmail.com | intitle:@yahoo.com)

cse2Now, remember, some sites have limited information, so you may not be able to pull an email (i.e. data.com). You may have to change your string around and it can be hit or miss at times. Use different variations of CSEs as well. For instance, when I paired some complex boolean refinements with a CSE that searches the entire web, I was able to build list finders and a resume finder:

Attendee List Refinement:

(inanchor:attendee OR intext:attendee) (gmail.com OR yahoo.com OR hotmail.com)

cse3 cse4

And don’t forget to have a little fun with these. I created the refinement (below) when I built my first CSE after SourceCon 2015. When I tested the CSE on a “Mechanical Engineer” search, it pulled great results! So create several variations of your refinements and see what happens:

 

Animal Science Refinement:

Article Continues Below

(mouse OR mice OR rodent OR “small animal”) (colony OR colonies OR testing OR cell OR tissue)

cse6

 

Science the CSE out of it!

Experimentation is a big part of this process. You may need to adjust the type of CSE you are building, rework refinements, change up boolean as well as other factors. If you can figure it all out, though, you’ll have a search engine you can always come back to, and you won’t have to remember all the different site search protocols the next time.

I’ve built up quite an expansive list myself, you can find many of them here. I hope thing helps, and have a great time building your new set of tools!

 

Dont forget to check out, The Art Of Building A Google Custom Search Engine – Part 3: Site Searches With A Side Of URL Manipulation.

 

 

 

 

 

 

Greg Hawkes is a Strategic Talent Sourcer, Speaker, Author, and Founder of the HRSourcingToolbox. He has worked as both a Technical Recruiter and Sourcing Analyst for healthcare, engineering, biotechnology, manufacturing and many other industries. He has been in the recruitment field for over 10 years, and got into heavy sourcing and headhunting back in 2012. He is an ongoing contributor to SourceCon – with topics ranging from Site Searches and CSEs, to Deep Dives andURL Sourcing. While preparing to speak at SourceCon 2017, he built the HRSourcingToolbox with a large inventory of Free Recruitment and Sourcing Tools. He has recently joined Houghton Mifflin Harcourt as a Strategic Sourcer and loving every minute of it! He is a huge fan of emerging technologies and Boolean Syntax and always willing to share a technique or hack to find the elusive purple squirrel.

Topics