Skip to main content
Epiq AI supports Lucene syntax for keyword search. Below is a list of query examples:
QuerySearch stringDescription
Single wordfoo
Phrase”foo bar”
AND, OR, NOTfoo AND bar, foo OR bar, foo NOT barThe “NOT” operator excludes documents that contain the term after NOT. It cannot be used with just one term, for example, NOT foo will not work.
Wildcard searchfoo*, foo*bar, foo?, foo?bar”?” is used for single character wildcard search; ”*” is used for multiple character wildcard search. ”*” and ”?” cannot be used as the first character of a search.
Fuzzy searchfoo~, foo~0.8Use ”~” at the end of a single word term to search for a similar term based on string similarity. You can specify the similarity value between 0 and 1 with a higher value indicating higher similarity.
Proximity search”foo bar”~10Use ”~” at the end of a phrase like “foo bar”~10 to search for a “foo” and “bar” within 10 words of each other in a document. Note that the proximity search in Lucene is ordered, i.e., the terms will be matched in exact order.
Regular expression/\d+/Wrap regex inside / and /

Regular expression

A common list of regular expressions