How to use Boolean search

Boolean search helps you drill down to the specific mentions that matter to you. With boolean search, you’re no longer restricted to just 5 mandatory, optional, and excluding keywords. It’s open bar! Include and exclude an unlimited number of keywords, to reduce noise for broad topics.

1. Access to Boolean search:

When you select the option to create a new alert, you will see the screen below. At the bottom, you will find the Boolean search. You can also request a demo any time by emailing us at sales@mention.com.

2. What can I put in my query? 

The query is the set of keywords Mention will monitor for you. With Boolean mode you have as many keywords as you need. You combine them using these 10 operators:

AND
"nasa" AND "space"
Will find mentions containing both words NASA and space.
OR
"nasa" OR "n.a.s.a" OR "nasa.gov"
Will find mentions containing either NASA, N.A.S.A or nasa.gov, including backlinks.
AND NOT
"nasa" AND NOT "esa"
Will find mentions containing NASA but ignore content with ESA.
~6 (near) "nasa rover"~6
Will match any mention with the word NASA and rover separated by up to 6 words (replace the number by 1 to 6).
( ) (brackets)
("nasa" OR "n.a.s.a") AND ("rover" AND "mars")
Will match any mention that contains both the words Rover and Mars and either NASA or N.A.S.A. Important note: Avoid mixing ANDs and ORs  in the same parenthesis group.
URL url:"nasa.gov" Will match any mention that includes the keyword within a url. Will match:
- nasa.gov
- nasa.gov/space
- spacenasa.gov
- http://foo.com
source_country source_country:("US" OR "GB") Will match any mention located in the US or in the UK. Caution: any mention not located in these countries will be ignored.
lang
lang:(fr OR en) Will only monitor the quoted language/s. Nb: To monitor all languages, this command is not needed.
influence influence:45 Will monitor only sources with a minimum influence score of 45.
title title:"nasa" Only mentions with the keyword NASA in its title will be considered.
source_name concert AND source_name:justin bieber Works for Facebook, Instagram and Twitter. Cannot be used by itself within a query, but will require at least one keyword.
source_username music AND NOT source_username:(justinbieber OR taylorswift13) Works for Instagram and Twitter to filter for user names. Cannot be used by itself within a query, but will require at least one keyword.
source_country: OR -has:source_country hello AND (source_country:US OR -has:source_country) This is matching any mention containing "hello", for which we either detected the country as "US", or failed to detected any country.

3. What is an example of a good query?

Use the first tab to select the best keyword combinations for your search, using our available commands.

In the second tab, Monitored Pages, you can add one Facebook page and Twitter page. Yet, you can have up to 10 pages for each of the following: Booking.com, Yelp, Tripadvisor, Google reviews, Amazon, Trustpilot and Custplace.

In the last tab you can block as many pages as you like by adding the URLs.

6. How do I choose a language to be monitored?

You can monitor all languages by not using the language command or a list of languages.

List of allowed country codes: AF, AX, AL, AS, AD, AO, AI, AQ, AG, AR, AM, AW, AC, AU, AT, AZ, BS, BH, BD, BB, BY, BE, BZ, BJ, BM, BT, BO, BA, BW, BR, IO, VG, BN, BG, BF, BI, KH, CM, CA, IC, CV, BQ, KY, CF, EA, TD, CL, CN, CX, CC, CO, KM, CG, CD, CK, CR, CI, HR, CU, CW, CY, CZ, DZ, DK, DG, DJ, DM, DO, EC, EG, SV, GQ, ER, EE, ET, FK, FO, FJ, FI, FR, GF, PF, TF, GA, GM, GE, DE, GH, GI, GR, GL, GD, GP, GU, GT, GG, GN, GW, GY, HT, HN, HK, HU, IS, IN, ID, IR, IQ, IE, IM, IL, IT, JM, JP, JE, JO, KZ, KE, KI, XK, KW, KG, LA, LV, LB, LS, LR, LY, LI, LT, LU, MO, MK, MG, MW, MY, MV, ML, MT, MH, MQ, MR, MU, YT, MX, FM, MD, MC, MN, ME, MS, MA, MZ, MM, NA, NR, NP, NL, NC, NZ, NI, NE, NG, NU, NF, KP, MP, NO, OM, PK, PW, PS, PA, PG, PY, PE, PH, PN, PL, PT, PR, QA, RE, RO, RU, RW, WS, SM, ST, SA, SN, RS, SC, SL, SG, SX, SK, SI, SB, SO, ZA, GS, KR, SS, ES, LK, BL, SH, KN, LC, MF, PM, VC, SD, SR, SJ, SZ, SE, CH, SY, TW, TJ, TZ, TH, TL, TG, TK, TO, TT, TA, TN, TR, TM, TC, TV, UM, VI, UG, UA, AE, GB, US, UY, UZ, VU, VA, VE, VN, WF, EH, YE, ZM, ZW

Learn more about Boolean: Pinpoint Media Monitoring With Boolean Queries

Still need help? Contact Us Contact Us