Now you hopefully understand how the basic structure works, but what if you want to have more than one search query? Here's how you enter them: (Tesla OR car) NEAR/15 ("model s" OR "model x" OR "model 3") AND NOT (BMW OR "Mercedes Benz")Īs explained above, this search query will return results only where the maximum distance between Tesla and ANY of the phrases "model s" or "model x" or "model 3" is maximum 15 words. Here's another example where we narrow the results by exchanging the AND operator with the NEAR operator: This search query will return results that must contain Tesla and ANY of the phrases "model s" or "model x" or "model 3" but NOT BMW or Mercedes Benz. (Tesla) AND ("model s" OR "model x" OR "model 3") AND NOT (BMW OR "Mercedes Benz") We have a built-in validator that will help you enter your searches in the correct manner. The best way to understand and learn how the Boolean searches work is to see a few examples and then give it a try yourself. Permitted values for each attribute can be found in dropdowns in the UI, as well as through the autocomplete function in the query editor. LANGUAGES - Syntax: (LANGUAGES: "a, b, c" (.keywords)). Will search only in the stated mediatypes.ĮXCLUDEDMEDIATYPES - Syntax: (EXCLUDEDMEDIATYPES: "a, b, c" (.keywords)) Will not search in the stated mediatypes MEDIATYPES - Syntax: (MEDIATYPES: "a, b, c" (.keywords)). If you for example want to monitor Instagram and want results in global language for a specific search query, all the other queries in the same search will in this way remain in Swedish for all mediatypes. For example, if you have the general rule that the whole Boolean search should be in Swedish and in all mediatypes (for all queries), you can for a specific search query overrule the setup by adding codes to that specific query. However, you can overrule these rules for specific search queries. Here's one example: (TITLE:“McDonalds” )īy default, each search query follows the general rules set up in the top menu (media types, languages, “more options”) etc. Currently only supported for news articles. TITLE - Will only return results if the keyword is found within the article title. Any term entered after this operator won't be included in the search results. The way this works is that at least one phrase is required, but that more than one (or all) can be returned.ĪND NOT - Narrow your search by excluding phrases. OR - Widen the search by including several possible phrases. By default, it is set to a distance of a maximum of 10 words, but you can define this by adding NEAR/15 if you want to widen the maximum distance to 15 words. But, whereas using the AND operator the two phrases could be anywhere in a text post, the NEAR operator defines the maximum number of phrases that can be between the different phrases. NEAR - Similar to AND, it defines that two or more phrases must be present in the results. You can use the following operators to create your search:ĪND - Used to define that two or more phrases must be present in the result. Please note that the relationship between each search query is inherently OR. Single word terms can be entered without quotation marks, but phrases must be incapsulated within quotations (for example "Tesla Model S"). They are entered in the following order: (Keywords) AND (combinators) AND NOT (excluded). That means you can first search for a topic or brand containing certain words or phrases, and then create a new search within the search that searches for something completely different.Įach search string within a Boolean query can contain the same elements that make up a Keyword query: one or several keywords or phrases (required), a set of required combinators and a set of excluded terms. The main difference between a Boolean query and a Keyword query is that a Boolean query can contain an infinite number of "sub searches".
0 Comments
Leave a Reply. |