Searching with Query Strings: Bool query
Now that you have seen how to search all or specific fields, let’s take a look at how we can embed boolean logic into the query string. Let’s search the name field as we did in the previous article, but this time add parenthesis. Within the parenthesis, we will add the pasta term, followed by a boolean operator.… read more