> ## Documentation Index
> Fetch the complete documentation index at: https://labs.laer.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# dtSearch

Epiq AI supports dtSearch by translating a subset of dtSearch syntax into Lucene syntax. Below is a list of examples of dtSearch syntax supported by Epiq AI.

<table><thead><tr><th width="232">Type</th><th width="161.33333333333331">Search String</th><th>Description</th></tr></thead><tbody><tr><td><strong>Proximity</strong></td><td>a w/5 b</td><td>a must occur within 5 words of b</td></tr><tr><td /><td>not (a w/5 b)</td><td>must not have a within 5 of b</td></tr><tr><td /><td>a pre/3 b</td><td>a must occur within 3 words before b</td></tr><tr><td /><td>(a pre/3 b) w/7 c</td><td>nested proximity</td></tr><tr><td /><td>"a b" w/5 b</td><td>quoted phrase support in proximity</td></tr><tr><td /><td>a w/5 b\*</td><td>wildcard support in proximity</td></tr><tr><td /><td>(a or b) w/5 c</td><td>Proximity OR</td></tr><tr><td><strong>Regular expression</strong></td><td>"##\[a-b]\{3}"</td><td>Regex support</td></tr></tbody></table>

Below is a list of dtSearch syntax that is not currently supported by Epiq AI but can be rewritten in Lucene syntax that is supported by Epiq AI:

| dtSearch String  | Lucene equivalent                                                | Description                                                           |
| ---------------- | ---------------------------------------------------------------- | --------------------------------------------------------------------- |
| a not w/2 b      | (a NOT "a b"\~2) AND (a NOT "b a"\~2)                            | a must occur, but not within 2 words of b                             |
| (a and b) w/10 c | (a AND b) AND ("a c"\~10 OR "c a"\~10 OR "b c"\~10 OR "c b"\~10) | a and b must both occur, either a or b should be within 10 words of c |
