Skip to main content
kelly.bebenek
mEmployee
mEmployee
October 4, 2022
Practice

Boolean Practice 2: NEAR, ONEAR

  • October 4, 2022
  • 92 Replies
  • 2628 views

Boolean Practice 2 (NEAR, ONEAR)

 

In the course Creating Searches with Boolean: Foundations  we reviewed the Boolean operators everyone should know in order to create searches.

Here is a safe place where you can practice your new knowledge. You can also practice in Explore and test your search to see if you are getting the results you expected.

 

How it works:

  1. Pick at least one scenario listed below and create a mock search.
  2. Add your search as a reply below. No cheating!
  3. Once you post your search, review what other learners have added to see how it compares.
  4. We will PM you the answer key

 

Let’s Practice

 

Let’s practice using AND, OR, NOT, NEAR, and ONEAR and quotations.

✨ Updated September 2026: The practice scenarios have been refreshed with new examples. Happy query crafting!

 

Scenario 1 

Find documents where Starbucks appears within 4 words of Pumpkin Spice Latte.

 

Scenario 2 🎮

Find documents where Nintendo appears before and within 8 words of at least one of: Zelda or Ocarina of Time. Exclude mentions of Switch Lite.

 

Scenario 3 ⛰️

Find documents where Patagonia appears within 10 words of at least one of these terms: hiking, jackets, or outdoor gear. Exclude mentions of the geographic region of Patagonia: Argentina, Chile, or South America.

 

 

92 replies

lepeng.tee
mEmployee
mEmployee
August 18, 2026

Scenario 1 👽
Find documents that mention Yoda and Luke Skywalker within 6 words of each other.

Yoda NEAR/6 “Luke Skywalker”

 

Scenario 2 🍔
Find documents that mention at least one of the following keywords: hamburgers, veggie burgers, and chicken tenders. These keywords should appear within four words of the keyword drive-through.

(hamburgers OR “veggie burgers” OR “chicken tenders”) NEAR/4 “drive-through”

 

Scenario 3 ✈
Find documents that mention the keywords luggage, carry-ons, and checked bag within 10 words of the keyword Delta Airlines.

(luggage AND “carry-ons” AND “checked bag”) NEAR/10 “Delta Airlines”

Cheyenne
mEmployee
mEmployee
September 16, 2026

Hi everyone! We’ve updated the above scenarios with new examples. Whether you’ve already completed the previous examples or are new here - give them a try and comment your answers below 😊