Boolean search

Boolean search

[′bü·lē·ən ′sərch]
(computer science)
A search for selected information, that is, information satisfying conditions that can be expressed by AND, OR, and NOT functions.
McGraw-Hill Dictionary of Scientific & Technical Terms, 6E, Copyright © 2003 by The McGraw-Hill Companies, Inc.

Boolean search

(information science)
(Or "Boolean query") A query using the Boolean operators, AND, OR, and NOT, and parentheses to construct a complex condition from simpler criteria. A typical example is searching for combinatons of keywords on a World-Wide Web search engine.

Examples:

car or automobile

"New York" and not "New York state"

The term is sometimes stretched to include searches using other operators, e.g. "near".

Not to be confused with binary search.

See also: weighted search.
This article is provided by FOLDOC - Free Online Dictionary of Computing (foldoc.org)

Boolean search

A search for data that meets several criteria by using the Boolean operators AND, OR and NOT (see Boolean logic). For example, the request: "Search for all Spanish and French speaking employees who have MBAs" would be written as follows if the query were expressed on a command line. Spanish and French are placed in parentheses in order to be treated as a single item.
list for degree="MBA" and(language="Spanish" or language="French")


In the following example, the parentheses are missing, and the query is incorrect. The AND ties MBA and Spanish together; therefore, people who speak Spanish and have an MBA would be selected, which is correct. However, the OR separates French from the rest of the query, and anyone speaking French, no matter which degree they held, would also be selected.
list for degree="MBA" andlanguage="Spanish" or language="French"



A Google "Advanced" (Boolean) Search
Searching text on Web pages is much less exact than querying records in a database, and this search actually produced 10 million results. However, the Boolean concept does still apply. In this Google "Advanced Search," the OR is stated clearly, but the AND and NOT operators are there nonetheless.
Copyright © 1981-2025 by The Computer Language Company Inc. All Rights reserved. THIS DEFINITION IS FOR PERSONAL USE ONLY. All other reproduction is strictly prohibited without permission from the publisher.
Mentioned in
Copyright © 2003-2025 Farlex, Inc Disclaimer
All content on this website, including dictionary, thesaurus, literature, geography, and other reference data is for informational purposes only. This information should not be considered complete, up to date, and is not intended to be used in place of a visit, consultation, or advice of a legal, medical, or any other professional.