{"id":5467,"date":"2022-10-18T10:34:56","date_gmt":"2022-10-18T10:34:56","guid":{"rendered":"https:\/\/sites.uef.fi\/tiedonhaku-kirjasto\/?page_id=5467"},"modified":"2023-10-10T09:35:15","modified_gmt":"2023-10-10T06:35:15","slug":"combining-search-terms-into-a-search-query","status":"publish","type":"page","link":"https:\/\/sites.uef.fi\/tiedonhaku-kirjasto\/combining-search-terms-into-a-search-query\/?lang=en","title":{"rendered":"Combining Search Terms into a Search Query"},"content":{"rendered":"\n<p>Boolean operators are used with alternative search terms. In information retrieval, there are three Boolean operators: AND, OR and NOT. Search terms and phrases with the operators that connect them can all be parts of the search query. One sentence may have one or more operators depending on the subject. Usually, it does not matter whether the operators are written in capital letters or not. UEF Primo and PubMed make an exception and require operators written in capital letters. In this learning material, operators are always written in capital letters for clarity.<\/p>\n\n\n\n<p>Phrases and Boolean operators do not always have to be included in the search query. The idea is that the use of search terms, phrases and operators fits the purpose of the search and provides enough relevant matches for the search topic.<\/p>\n\n\n\t<div id=\"accordion-block_2183c558327272ab4ac1a33d119c9681\" class=\"accordions\">\n\t\t\t\t\t<div class=\"accordion accordion-js\">\n\t\t\t\t<button class=\"accordion__button\" aria-controls=\"content-8124\" aria-expanded=\"false\" id=\"accordion-control-8124\">\n\t\t\t\t\t<h3 class=\"accordion__heading\" >\n\t\t\t\t\t\tBoolean logic in information retrieval?\t\t\t\t\t<\/h3>\n\t\t\t\t<\/button>\n\t\t\t\t<div class=\"accordion__content\" role=\"region\" aria-labelledby=\"accordion-control-8124\" aria-hidden=\"true\" id=\"content-8124\">\n\t\t\t\t\t<p>Knowledge of the operators, aka Boolean Logic, is an essential skill in information retrieval, as the operators are used in databases.<\/p>\n<p>Even if you are not familiar with Boolean logic just yet, don\u2019t worry! When Boolean logic and information retrieval are thought of as simply as possible, the operators are just helpers in your search phrase, allowing you to refine and expand your search query.<\/p>\n\t\t\t\t<\/div>\n\t\t\t<\/div>\n\t\t\t<\/div>\n\t\n\n\n<h2 class=\"wp-block-heading\">The AND operator narrows and focuses the search<\/h2>\n\n\n\n<p>When doing searches in a database, placing the AND operator between search terms means that you want to find the publications (i.e., records) where the search words to the left and right of the operator occur simultaneously. The AND operator is used to connect search terms with each other.<\/p>\n\n\n\n<p>The AND operator is used to combine search terms that are dependent of each other or in a causal or influential relationship (for example: exercise AND health). Generally, AND does not mean the same as the word \u201cand\u201d in natural language. In human language, the following form of expression is often used: \u201cthe effect of concept 1 and concept 2 on concept 3\u201d. In reality, however, the aim is to learn about the impact of either concept 1 or concept 2 or both on concept 3. In such case, AND would limit the search result too much if it were to combine all concepts.<\/p>\n\n\n\n<p>Using AND operators between search terms focuses the search: the more limiting search terms are used, the more specific the search will be, and thus there will (in theory) be fewer results.<\/p>\n\n\n<iframe loading=\"lazy\" title=\"Illustrative diagrams of the AND operator.\" width=\"960\" height=\"604\" data-original-width=\"1146\" data-original-height=\"722\" src=\"https:\/\/www.thinglink.com\/card\/1643912850520932354\" type=\"text\/html\" frameborder=\"0\" webkitallowfullscreen mozallowfullscreen allowfullscreen scrolling=\"no\"><\/iframe><script async src=\"\/\/cdn.thinglink.me\/jse\/responsive.js\"><\/script><br\/><a href=\"https:\/\/app.widgets.thinglink.com\/accessibility\/1643912850520932354\" rel=\"noopener noreferrer\">Click here to view the accessible version of this interactive content.<\/a>\n\n\n\n<h2 class=\"wp-block-heading\">The OR operator broadens the search<\/h2>\n\n\n\n<p>The OR operator tells the database\u2019s search engine that you want to find all publications (i.e., records) that contain at least one of the search words to the left or right of the OR operator. The records that feature both search terms will also appear among the results.<\/p>\n\n\n\n<p>The OR operator is used to connect two alternative search terms that describe the same concept, such as synonyms or coordinate concepts. The more alternative expressions are included in the search, the more matches will be found.<\/p>\n\n\n\n<p>Do note that the use of the OR operator is redundant when the alternative word also covers a more specific term, which would often be a phrase. For example, in the query \u201cdefence mechanism\u201d OR defence, the word defenceis sufficient for also finding records that include defence mechanism.<\/p>\n\n\n<iframe loading=\"lazy\" title=\"Illustrative diagrams of the OR operator.\" width=\"960\" height=\"576\" data-original-width=\"1159\" data-original-height=\"696\" src=\"https:\/\/www.thinglink.com\/card\/1643965188484890626\" type=\"text\/html\" frameborder=\"0\" webkitallowfullscreen mozallowfullscreen allowfullscreen scrolling=\"no\"><\/iframe><script async src=\"\/\/cdn.thinglink.me\/jse\/responsive.js\"><\/script><br\/><a href=\"https:\/\/app.widgets.thinglink.com\/accessibility\/1643965188484890626\" rel=\"noopener noreferrer\">Click here to view the accessible version of this interactive content.<\/a>\n\n\n\n<h2 class=\"wp-block-heading\">The NOT operator is used to exclude certain search terms<\/h2>\n\n\n\n<p>The NOT operator tells the search engine to exclude from the results those publications (e.g., records) that have the search term to the right of the NOT operator. Unlike the AND and OR operators, the NOT operator does not include the subsequent word in the search but excludes it in order to focus the search instead.<\/p>\n\n\n\n<p>The NOT operation is used less regularly, and as it may exclude relevant records from the search, it should be used with consideration. The NOT operator can also exclude useful records from the search result.<\/p>\n\n\n<iframe loading=\"lazy\" title=\"Illustrative diagrams of the OR operator.\" width=\"960\" height=\"598\" data-original-width=\"1137\" data-original-height=\"709\" src=\"https:\/\/www.thinglink.com\/card\/1643980676447338498\" type=\"text\/html\" frameborder=\"0\" webkitallowfullscreen mozallowfullscreen allowfullscreen scrolling=\"no\"><\/iframe><script async src=\"\/\/cdn.thinglink.me\/jse\/responsive.js\"><\/script><br\/><a href=\"https:\/\/app.widgets.thinglink.com\/accessibility\/1643980676447338498\" rel=\"noopener noreferrer\">Click here to view the accessible version of this interactive content.<\/a>\n\n\n\n<h2 class=\"wp-block-heading\">Advanced information retrieval includes the use of phrase search, truncation, and the Boolean operators<\/h2>\n\n\n\n<p>A search phrase can be simple and short or longer and more versatile. More important than length is that the search phrase achieves the goals and needs of the information retrieval, i.e., results in literature that answers the search question. Sometimes it may be necessary to build a search phrase using several techniques, such as truncation, phrases and the AND, OR and NOT operators.<\/p>\n\n\n\t<div id=\"accordion-block_b47e954e00d51075d9a97cfd96dff46d\" class=\"accordions\">\n\t\t\t\t\t<div class=\"accordion accordion-js\">\n\t\t\t\t<button class=\"accordion__button\" aria-controls=\"content-2244\" aria-expanded=\"false\" id=\"accordion-control-2244\">\n\t\t\t\t\t<h3 class=\"accordion__heading\" >\n\t\t\t\t\t\tExamples of combining different techniques\t\t\t\t\t<\/h3>\n\t\t\t\t<\/button>\n\t\t\t\t<div class=\"accordion__content\" role=\"region\" aria-labelledby=\"accordion-control-2244\" aria-hidden=\"true\" id=\"content-2244\">\n\t\t\t\t\t<p>AND operator<\/p>\n<ul>\n<li>Truncation and AND operator: service* AND market*<\/li>\n<li>Phrase and AND operator: \u201dinformation skills\u201d AND \u201dhigher education\u201d<\/li>\n<\/ul>\n<p>OR operator<\/p>\n<ul>\n<li>Truncation and OR operator: compan* OR business*<\/li>\n<li>Phrase and OR operator: SMEs OR \u201dsmall business\u201d OR \u201dsmall and medium sized\u201d<\/li>\n<\/ul>\n<p>NOT operator<\/p>\n<ul>\n<li>Truncation and NOT operator: service* NOT agenc*<\/li>\n<li>Phrase and NOT operator: services NOT \u201dhealth services\u201d<\/li>\n<\/ul>\n<p>AND operator and NOT operator: diet AND nutrition NOT special<\/p>\n<p>Sometimes search queries can be long. The order of operations is controlled by using parentheses in the search phrase. The benefits of social media in marketing small businesses as an example:<\/p>\n<p>(\u201dsocial media\u201d OR facebook OR twitter OR instagram OR linkedin OR pinterest OR tiktok) AND marketing AND (\u201csmall business\u201d OR SME* OR \u201csmall firm*\u201d OR \u201csmall to medium sized\u201d)<\/p>\n<p>More examples of different search queries in <a href=\"https:\/\/sites.uef.fi\/tiedonhaku-kirjasto\/search-examples\/?lang=en\">Search Examples<\/a>.<\/p>\n\t\t\t\t<\/div>\n\t\t\t<\/div>\n\t\t\t<\/div>\n\t\n\n\n<p>A table or other visualizations can be used to outline how the search words could be combined. This is especially useful if you need queries with multiple search terms and operators.<\/p>\n\n\n<iframe loading=\"lazy\" title=\"An illustration of how the search words can be combined using text and visual tools.\" width=\"960\" height=\"708\" data-original-width=\"1162\" data-original-height=\"857\" src=\"https:\/\/www.thinglink.com\/card\/1643991653456805890\" type=\"text\/html\" frameborder=\"0\" webkitallowfullscreen mozallowfullscreen allowfullscreen scrolling=\"no\"><\/iframe><script async src=\"\/\/cdn.thinglink.me\/jse\/responsive.js\"><\/script><br\/><a href=\"https:\/\/app.widgets.thinglink.com\/accessibility\/1643991653456805890\" rel=\"noopener noreferrer\">Click here to view the accessible version of this interactive content.<\/a>\n\n\n\n<div class=\"links-block\">\n\n            <h3>Next<\/h3>\n    \n    <ul class=\"link-list\">\n        \n            \n            <li class=\"link-list-item\">\n                <a href=\"https:\/\/sites.uef.fi\/tiedonhaku-kirjasto\/search-fields\/?lang=en\" class=\"link-reset link hover-scale-down\">\n                    <svg\n        width=\"43\" height=\"25\"\n        viewBox=\"0 0 43 25\"\n        xmlns=\"http:\/\/www.w3.org\/2000\/svg\">\n    <path\n        d=\"M30.027 0 43 12.5 30.027 25 27 22.083 34.351 15H0v-5h34.351L27 2.917z\"\n        fill=\"currentColor\"\n        fill-rule=\"evenodd\"\/>\n<\/svg>                    <div>Search Fields<\/div>\n                <\/a>\n                <div class=\"link-info\">\n                                    <\/div>\n            <\/li>\n\n                <\/ul>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>Boolean operators are used with alternative search terms. In information retrieval, there are three Boolean operators: AND, OR and NOT. Search terms and phrases with the operators that connect them can all be parts of the search query. One sentence may have one or more operators depending on the subject. Usually, it does not matter [&hellip;]<\/p>\n","protected":false},"author":842,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"footnotes":""},"class_list":["post-5467","page","type-page","status-publish","hentry"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Combining Search Terms into a Search Query - Tiedonhakijan opas \/\/ UEF-kirjasto<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/sites.uef.fi\/tiedonhaku-kirjasto\/combining-search-terms-into-a-search-query\/\" \/>\n<meta property=\"og:locale\" content=\"fi_FI\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Combining Search Terms into a Search Query - Tiedonhakijan opas \/\/ UEF-kirjasto\" \/>\n<meta property=\"og:description\" content=\"Boolean operators are used with alternative search terms. In information retrieval, there are three Boolean operators: AND, OR and NOT. Search terms and phrases with the operators that connect them can all be parts of the search query. One sentence may have one or more operators depending on the subject. Usually, it does not matter [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/sites.uef.fi\/tiedonhaku-kirjasto\/combining-search-terms-into-a-search-query\/?lang=en\" \/>\n<meta property=\"og:site_name\" content=\"Tiedonhakijan opas \/\/ UEF-kirjasto\" \/>\n<meta property=\"article:modified_time\" content=\"2023-10-10T06:35:15+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Arvioitu lukuaika\" \/>\n\t<meta name=\"twitter:data1\" content=\"5 minuuttia\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/sites.uef.fi\/tiedonhaku-kirjasto\/combining-search-terms-into-a-search-query\/?lang=en\",\"url\":\"https:\/\/sites.uef.fi\/tiedonhaku-kirjasto\/combining-search-terms-into-a-search-query\/?lang=en\",\"name\":\"Combining Search Terms into a Search Query - Tiedonhakijan opas \/\/ UEF-kirjasto\",\"isPartOf\":{\"@id\":\"https:\/\/sites.uef.fi\/tiedonhaku-kirjasto\/#website\"},\"datePublished\":\"2022-10-18T10:34:56+00:00\",\"dateModified\":\"2023-10-10T06:35:15+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/sites.uef.fi\/tiedonhaku-kirjasto\/combining-search-terms-into-a-search-query\/?lang=en#breadcrumb\"},\"inLanguage\":\"fi\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/sites.uef.fi\/tiedonhaku-kirjasto\/combining-search-terms-into-a-search-query\/?lang=en\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/sites.uef.fi\/tiedonhaku-kirjasto\/combining-search-terms-into-a-search-query\/?lang=en#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/sites.uef.fi\/tiedonhaku-kirjasto\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Combining Search Terms into a Search Query\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/sites.uef.fi\/tiedonhaku-kirjasto\/#website\",\"url\":\"https:\/\/sites.uef.fi\/tiedonhaku-kirjasto\/\",\"name\":\"Tiedonhakijan opas \/\/ UEF-kirjasto\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/sites.uef.fi\/tiedonhaku-kirjasto\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"fi\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Combining Search Terms into a Search Query - Tiedonhakijan opas \/\/ UEF-kirjasto","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/sites.uef.fi\/tiedonhaku-kirjasto\/combining-search-terms-into-a-search-query\/","og_locale":"fi_FI","og_type":"article","og_title":"Combining Search Terms into a Search Query - Tiedonhakijan opas \/\/ UEF-kirjasto","og_description":"Boolean operators are used with alternative search terms. In information retrieval, there are three Boolean operators: AND, OR and NOT. Search terms and phrases with the operators that connect them can all be parts of the search query. One sentence may have one or more operators depending on the subject. Usually, it does not matter [&hellip;]","og_url":"https:\/\/sites.uef.fi\/tiedonhaku-kirjasto\/combining-search-terms-into-a-search-query\/?lang=en","og_site_name":"Tiedonhakijan opas \/\/ UEF-kirjasto","article_modified_time":"2023-10-10T06:35:15+00:00","twitter_card":"summary_large_image","twitter_misc":{"Arvioitu lukuaika":"5 minuuttia"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/sites.uef.fi\/tiedonhaku-kirjasto\/combining-search-terms-into-a-search-query\/?lang=en","url":"https:\/\/sites.uef.fi\/tiedonhaku-kirjasto\/combining-search-terms-into-a-search-query\/?lang=en","name":"Combining Search Terms into a Search Query - Tiedonhakijan opas \/\/ UEF-kirjasto","isPartOf":{"@id":"https:\/\/sites.uef.fi\/tiedonhaku-kirjasto\/#website"},"datePublished":"2022-10-18T10:34:56+00:00","dateModified":"2023-10-10T06:35:15+00:00","breadcrumb":{"@id":"https:\/\/sites.uef.fi\/tiedonhaku-kirjasto\/combining-search-terms-into-a-search-query\/?lang=en#breadcrumb"},"inLanguage":"fi","potentialAction":[{"@type":"ReadAction","target":["https:\/\/sites.uef.fi\/tiedonhaku-kirjasto\/combining-search-terms-into-a-search-query\/?lang=en"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/sites.uef.fi\/tiedonhaku-kirjasto\/combining-search-terms-into-a-search-query\/?lang=en#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/sites.uef.fi\/tiedonhaku-kirjasto\/"},{"@type":"ListItem","position":2,"name":"Combining Search Terms into a Search Query"}]},{"@type":"WebSite","@id":"https:\/\/sites.uef.fi\/tiedonhaku-kirjasto\/#website","url":"https:\/\/sites.uef.fi\/tiedonhaku-kirjasto\/","name":"Tiedonhakijan opas \/\/ UEF-kirjasto","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/sites.uef.fi\/tiedonhaku-kirjasto\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"fi"}]}},"_links":{"self":[{"href":"https:\/\/sites.uef.fi\/tiedonhaku-kirjasto\/wp-json\/wp\/v2\/pages\/5467","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sites.uef.fi\/tiedonhaku-kirjasto\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/sites.uef.fi\/tiedonhaku-kirjasto\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/sites.uef.fi\/tiedonhaku-kirjasto\/wp-json\/wp\/v2\/users\/842"}],"replies":[{"embeddable":true,"href":"https:\/\/sites.uef.fi\/tiedonhaku-kirjasto\/wp-json\/wp\/v2\/comments?post=5467"}],"version-history":[{"count":3,"href":"https:\/\/sites.uef.fi\/tiedonhaku-kirjasto\/wp-json\/wp\/v2\/pages\/5467\/revisions"}],"predecessor-version":[{"id":10660,"href":"https:\/\/sites.uef.fi\/tiedonhaku-kirjasto\/wp-json\/wp\/v2\/pages\/5467\/revisions\/10660"}],"wp:attachment":[{"href":"https:\/\/sites.uef.fi\/tiedonhaku-kirjasto\/wp-json\/wp\/v2\/media?parent=5467"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}