Computer Science, asked by atso, 1 year ago

how can AND and OR logic be combine in boolean search?​

Answers

Answered by ankit7188
5

Answer:

You may combine search terms and fields using AND, OR, and NOT (Boolean logic).

AND: When you combine search terms with AND in a full-text search, your results contain everything in which both terms appear. Combining search terms makes your search results more precise. You can explicitly denote AND in the following ways: cat AND dog, cat && dog, +cat +dog, (cat dog)

OR: Using OR between search terms allows to you find all items that contain either term. Using OR will search for items that contain either the word "cat", the word "dog", or both. For example: cat OR dog

NOT: Searches using NOT will only find items that do not contain the search term following it. NOT must be capitalized. To find all items with the word cat that do not contain the word dog, search for: cat NOT dog, cat -dog (Be sure to include a space before the dash, but not after).

Grouping Combined Search Terms

Parentheses allow you to determine the order in which terms are combined. The search "currency reform" AND (russia OR "soviet union") will search for items that contain the phrase currency reform and that contain either russia or soviet union. Without grouping parentheses, the search is interpreted as "currency reform" AND russia OR "soviet union," which returns items containing either both currency reform and russia or containing soviet union. By using parentheses, you may control the grouping of search terms.

Answered by cakeonesb
3

Answer:

Explanation:because it links with other words or it joins with other words and give meaning to it. It makes totally to depend the second sentence on first sentence

Similar questions