Skip to main content
Practice

Boolean Practice 3: Nested Search

  • October 4, 2022
  • 84 Replies
  • 1663 views

kelly.bebenek
mEmployee
Forum|alt.badge.img+10

Boolean Practice 3 (Nested Search)

 

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 nested searches.

 

Scenario 1 👵

Find documents that mention Yoda with Luke Skywalker or Princess Leia. Documents should not include the keyword Darth Vader.

 

Scenario 2 🍔

Find documents that mention at least one of the following keywords: hamburgers and veggie burgers. These keywords should appear within 10 words of the keywords drive-through or drive-thru

 

Scenario 3 

Find documents with the keywords luggage, carry-ons, and checked bag within 10 words of the keyword Delta Airlines. Documents should not contain the keywords travel deals, coupons, or discounts.

84 replies

Forum|alt.badge.img+1
  • Influencer
  • November 14, 2022

Scenario 1 👵

Find documents that mention Yoda with Luke Skywalker or Princess Leia. Documents should not include the keyword Darth Vader.

(Yoda AND (“Luke Skywalker” OR “Princess Leia”)) NOT “Darth Vader”


Forum|alt.badge.img
  • Influencer
  • November 15, 2022

Scenario 1 👵

Find documents that mention Yoda with Luke Skywalker or Princess Leia. Documents should not include the keyword Darth Vader.

 

(“Yoda” AND “Luke Skywalker” AND “Princesa Leia”) NOT “Darth Vader”


  • Influencer
  • November 21, 2022

yoda AND (“luke skywalker” OR “princess leia”) NOT “darth vader”


Scenario 1 👵

[Yoda and “Luke Skywalker”] or “Princess Leia”  not “Darth Vader”

 

Scenario 2 🍔

[hamburgers or “veggie burgers.”  near/10 [“drive-through” or “drive-thru”

 

Scenario 3 ✈️

[“luggage. and “carry-ons” and “checked bag”] near/10  “Delta Airlines” not [travel deals,  or coupons or discounts]


  • mEmployee
  • January 12, 2023

Scenario 1:
(“Yoda” AND (“Luke Skywalker” OR “Princess Leia”)) NOT “Darth Vader”

Scenario 2:

(“Hamburgers” OR “Veggie Burgers”) NEAR/10 (“Drive-Through” OR “Drive-Thru”)

Scenario 3:

((“Luggage” AND “Carry-Ons” AND “Checked Bag”) NEAR/10 “Delta Airlines”)) NOT (“Travel Deals” OR “Coupons” OR “Discounts”)

 


  • Influencer
  • January 19, 2023

Scenario 1:
(("Yoda” AND (“Luke Skywalker” OR “Princess Leia”))NOT ”Darth Vader”)


Scenario 2:

(("hamburgers” OR “veggie burgers”) NEAR/10 (“drive-through” OR “drive-thru”))

 

Scenario 3:

(((“luggage” OR “carry-ons” OR “checked bag”) NEAR/10 (“Delta Airlines”))NOT(“travel deals” OR “coupons” OR “discounts”))

 

 


Maria Dehne
mChampion Level 3
Forum|alt.badge.img+63
  • mChampion Level 3
  • January 19, 2023

(“YODA”) AND (“Luke Skywalker”) OR (“Princess Leia”) NOT (“Darth Vader”)


DEClarke
mChampion Level 3
Forum|alt.badge.img+51
  • mChampion Level 3
  • January 25, 2023

Scenario 1 👵

Find documents that mention Yoda with Luke Skywalker or Princess Leia. Documents should not include the keyword Darth Vader.

((“Yoda” AND (“Luke Skywalker” OR “Luke”) OR (“Princess Leia” OR “Leia”)) NOT (“Darth Vader” OR “Vader”))

 

Scenario 2 🍔

Find documents that mention at least one of the following keywords: hamburgers and veggie burgers. These keywords should appear within 10 words of the keywords drive-through or drive-thru

((“Hamburger” OR “Hamburgers”) AND (“Veggie Burger” OR “Veggie Burgers) NEAR/10 (“Drive-through” OR “Drive-thru”)

 

Scenario 3 ✈️

Find documents with the keywords luggage, carry-ons, and checked bag within 10 words of the keyword Delta Airlines. Documents should not contain the keywords travel dealscoupons, or discounts.

(((Luggage AND (“Carry-on” OR “Carry-ons”) AND “checked bag*”) ONEAR/10 (“Delta Airline” OR “Delta Airlines” OR “Delta”)) NOT ((“Travel Deals” OR “Travel Deal”) OR Coupon* OR Discount*))


Seb Norfolk
mEmployee
  • mEmployee
  • January 27, 2023

(“Delta Airlines” NEAR/10 (“luggage” OR “carry-on*” OR “checked bag*”)) 
NOT
(“travel deal*” OR “coupon*” OR “discount*”)


Forum|alt.badge.img

((luggage AND “carry-ons” AND “checked bag”) NEAR/10 “Delta Airlines”) NOT (“travel deals” OR coupons OR discounts)


WhitneyWilliams
mEmployee
Forum|alt.badge.img+2

Hi @Seb Norfolk and @alana.waloszek - great boolean. You will find the answer key in your private messages. 

Don’t forget to enter the Boolean Competition for a chance to win! 


  • Influencer
  • March 1, 2023

(Yoda AND (“Luke Skywalker” OR “Princess Leia”)) NOT “Darth Vader”

((luggage AND “carry-ons” AND “checked bag”) NEAR/10 “Delta Airlines”) NOT (“travel deals” OR coupons OR discounts)

(hamburgers OR “veggie burgers”) NEAR/10 (“drive-through” OR “drive-thru”)


Forum|alt.badge.img
  • Influencer
  • March 3, 2023

(Yoda AND (“Luke Skywalker” OR “Princess Leia”)) NOT “Darth Vader”

(hamburgers OR “veggie burgers”) NEAR/10 (“drive-through” OR “drive-thru”)

((luggage AND “carry-ons” AND “checked bag”) NEAR/10 “Delta Airlines”) NOT (“travel deals” OR “coupons” OR discounts”)


Sc1 ("Yoda" AND ("Luke Skywalker" OR "Princess Leia")) NOT "Darth Vader"
Sc2 ("hamburgers" OR "veggie burgers") NEAR/10 ("drive-through" OR "drive-thru")
Sc3 (("luggage" AND "carry-ons" AND "checked bag") NEAR/10 "Delta Airlines") NOT ("travel deals" OR "coupons" OR "discounts")


  • Influencer
  • April 11, 2023

1: (Yoda AND (“Luke Skywalker” OR “Princess Leia”)) NOT “Darth Vader”
2: (“Drive-through” OR “drive-thru”) NEAR/10 (hamburgers OR “veggie burgers”)  
3: “Delta Airlines” NEAR/10 ((luggage OR “carry-ons” OR “checked bag”) NOT (“travel deals” OR coupons OR discounts))


  • Explorer
  • April 12, 2023

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

NOT (“travel deals” OR “coupons” OR“discounts”))


  • Influencer
  • April 27, 2023

#1: (("Yoda" AND ("Luke Skywalker" OR "Princess Leia") NOT "Darth Vadar"))

#2: (("hamburgers" OR "veggie burgers") near/10 ("drive-through" OR "drive-thru"))

#3: (("luggage" OR "carry-ons" OR "checked bag") near/10 "Delta Airlines" NOT ("travel" OR "deals" OR "coupons" OR "discounts"))

 

 


Forum|alt.badge.img
  • Explorer
  • May 1, 2023

Scenario 1 👵

(“Yoda” and (“Luke Skywalker” or Princess Leia”) NOT “Darth Vader”)

Scenario 2 🍔

((“hamburgers” or “Veggie burgers”) near/10 (“drive-through” or “drive-thru”))

Scenario 3 

(((“luggage” and “carry-ons” and “checked bag”) near/10 “Delta Airlines”) NOT (“travel deals” or coupons” or “discounts”))


((Yoda AND “Luke Skywalker”) OR “Princess Leia”) NOT “Darth Vader”


Benarius
Explorer
Forum|alt.badge.img
  • Explorer
  • May 8, 2023

Scenario 1: (Yoda AND ("Luke Skywalker" OR "Princess Leia")) NOT "Darth Vader"

Scenario 2: (hamburgers OR "vegie burgers") NEAR/10 ("drive-through" OR "drive-thru")

Scenario 3: ((luggage OR "carry-ons" OR "checked bag") NEAR/10 "Delta Airlines") NOT ("travel deals" OR coupons OR discounts)


Al_S
mChampion Level 2
Forum|alt.badge.img+11
  • mChampion Level 2
  • May 10, 2023

((luggage AND carry-on* AND “checked bag*”) NEAR/10 “Delta Airline*”)) NOT (“travel deal*” OR coupon* OR discount*)

 

 


  • New Member
  • June 1, 2023

(Yoda AND ("Luke Skywalker" OR "Princess Leia")) NOT "Darth Vader"


  • New Member
  • June 2, 2023

((“yoda” AND “luke skywalker”) OR “princess leia”)) NOT “darth vadar”

(“hamburgers” OR “veggie burgers”) NEAR/10 (“drive through’ OR “drive through”)

((“luggage” AND “carry on” AND “checked bag”) NEAR/10 “Delta Airlines”)) NOT (“travels” OR “coupons” OR “discounts”)


Jacinda Espinosa
mEmployee
Forum|alt.badge.img+7

Hey @Anna G - great boolean! I’ve just sent you the answer keys for boolean practice 1, 2, and 3, so be sure to check your DMs. Thanks for sharing your answers! 🌟


  • Influencer
  • June 8, 2023

Scenario 1 👵

 

((“Yoda” AND (“Luke Skywalker” OR “Princess Leia”))) NOT “Darth Vader”

Scenario 2 🍔

 

((“hamburgers” OR “veggie burgers”)) NEAR/10 ((“drive-through” OR “drive-thru”))

Scenario 3 ✈

 

((“luggage” AND “carry-ons” AND “checked bag”) (NEAR/10 “Delta Airlines”) (NOT “travel deals” OR “coupons” OR “discounts”)))