ℹī¸ In this article:

Basic Boolean Searches

You can use Boolean operators AND, OR, AND NOT to include or exclude certain search conditions.

⚠ī¸ Ensure your Boolean queries are capitalized, otherwise Logikcull will search for the actual text of the operator "and, or, and not," etc.

For example:

tags:Harry AND tags:Sally

Include all documents tagged with both Harry AND Sally


tags:Responsive AND NOT tags:Privileged

Include all "Responsive" tags and exclude (AND NOT) all "Privileged" tags

(bean* OR rice) AND NOT quinoa

Include all keywords starting with "Bean" (bean, beans, beanie, etc) OR "Rice", but exclude any documents that contain "quinoa"

Exclusion Searches

Sometimes you need to run an exclusion search, or search using a negative clause. You can do this easily by starting your search query with the Boolean operator NOT.

For example, let's say you need to exclude all emails from domain names dogfancy.com or catfancy.com because they're irrelevant to your review. The search

document_type:Email AND NOT email_fields.from_domain:(dogfancy.com OR catfancy.com)

will result in excluding any emails where those domains are in the email from metadata.

Nested Boolean Searches

Searches run left-to-right, but you may also "nest" your search conditions in parentheses, so that searches within the parentheses are run first, followed by those outside the parentheses, from left-to-right.

For example, let's say you need to run a search for documents tagged "For Further Review" that are also tagged either "Hot" or "Responsive." The search

tags:"For Further Review" AND (tags:Hot OR tags:Responsive)
will result in only those documents tagged "For Further Review" that are also tagged either "Hot" or "Responsive:"

Without parentheses, the search

tags:"For Further Review" AND tags:Hot OR tags:Responsive

will return any document tagged with both "For Further Review" AND "Hot", OR any document tagged "Responsive," regardless of any other condition.

ONLY Searches

Searches for documents that match ONLY a given value. For example, a search for

ONLY email_fields.to:"Joe Cull"

Will return document in which "Joe Cull" is the ONLY metadata in the "Email To" metadata field.

The fields in which an ONLY operator can be used as a modifier are:

  • email_fields.to

  • email_fields.smtp_to

  • email_fields.cc

  • email_fields.smtp_cc

  • email_fields.bcc

  • email_fields.smtp_bcc

  • email_fields.domains

  • email_fields.recip_domains

  • email_fields.recipient_emails

  • email_recipients

💡 To search for a conversation ONLY between two parties, you can combine multiple fields, like this:

email_fields.smtp_from:corona.urn@liab.ly AND ONLY (email_fields.to:"elan rye" OR email_fields.smtp_to:elan.rye@liab.ly)

Which will return emails between Corona Urn and Elan Rye in which Corona Urn is the sender and Elan Rye is the recipient in the "To" field.

⚠ī¸ Important: if you're using the Advanced Search Builder to construct your search query, you'll need to pay close attention to the order of operations and add parentheses to the resulting search in the search bar as necessary.

​

​

Did this answer your question?