

Visit Relativity Learning to explore additional learning opportunities for this topic.
With advanced text search syntax, you can perform searches per short message from the Documents tab. This workflow utilizes the workspace’s Elasticsearch short message index to search specific metadata of the short message, such as identifying conversation participants, deleted or edited messages, message reactions, and messages sent within a specified time period.
Once messages are located, you can perform message level coding on them, if needed.
For more information on the short message search index and saved searches:
Before you run a short message search, consider the following regarding message-level conditions:
To create a search using the short message search workflow:
If needed, you can create a saved search as you would any other search.
There are five field types in short message search conditions:
Each field type works similarly to the standard Relativity field type of the same name, as defined here. The primary exception is Long Text. In Short Message search conditions, the Long Text fields are searched in a manner similar to dtSearch using the advanced text search syntax. See Long text operators for more information.
Searching Long Text in Short Message search conditions is done by entering text queries using the advanced text search syntax. This allows you to search Elasticsearch indexes using syntax similar to that of dtSearch.
Note: Not all dtSearch syntax is supported and there are some differences between how the advanced text search syntax and dtSearch behave.
The table below shows search string examples and their expected results. You may also search using the “Is set” or “Is not set” operators to check for empty or filled values.
Search string | Returns RSMF documents with messages containing… |
---|---|
"apple pear" | The exact phrase apple pear. |
apple AND pear | The words apple and pear. |
apple OR pear | Either apple or pear. |
apple W/5 pear | The word apple within five words of pear. The opposite is also true. |
apple PRE/5 pear | The word apple within five words before pear. The opposite is not true. |
apple AND NOT (pear) | The word apple but not the word pear. |
pear* | Any word beginning with pear, including the word itself. For example, pears and Pearson. |
pe?r |
Any word beginning with pe with a single character between that and r. For example. pear or peer. |
Much like in dtSearch, there are characters and words that are reserved by the advanced text search syntax and must be treated differently to be searched.
In the advanced text search syntax, reserved characters may be searched by inserting a backslash (\) before them in the query.
Reserved words may be searched by using quotation marks around them, either individually or as part of a phrase.
As noted above, there are differences between how dtSearch and the advanced text search syntax behave with certain queries. The advanced text search syntax has several different requirements for certain queries to be valid. These are detailed below.
Compared with dtSearch, there are a few limitations described below on how you can use the two proximity operators.
Relativity’s short message search indexing uses Elasticsearch’s standard analyzer. For more information on Elasticsearch's standard analyzer, see Elasticsearch's documentation.
Elasticsearch's documentation describes how words are broken into tokens, or individually searchable pieces of text, during indexing. The analyzer cannot be configured in any way at this time.
The most practical impact of this behavior on searching is that combining wildcard operators and special characters may not lead to expected search results.
Fixed-Length Text values are entered using a simplified syntax relative to that of Long Text operators. As noted in the help banner, both single character wildcards (?) and multiple character wildcards (*) are supported, as well as escaping those characters using the backslash (\).
Fixed-Length fields support the “Matches,” “Does not match,” “Is set,” and “Is not set” operators.
The following operators are available for date field types. Values should be entered in UTC rather than your local time zone.
Operator | Returns Documents Where... |
---|---|
Is | The entered date is equal to the field value. |
Is not | The entered date is not equal to the field value. |
Is set | The field is not empty. |
Is not set | The field is empty. |
Is before | The field value is before the entered date. |
Is before or on | The field value is before or on the entered date. |
Is after | The field value is after the entered date. |
Is after or on | The field value is on or after the entered date. |
Between | The field value is between the two entered dates. |
The following operators are available for whole number field types.
Operator | Returns Documents Where... |
---|---|
Is | The entered number is equal to the field value. |
Is not | The entered number is not equal to the field value. |
Is set | The field is not empty. |
Is not set | The field is empty. |
Is less than | The field value is less than the entered number. |
Is greater than | The field value is greater than the entered number. |
The following operators are available for Yes/No field types.
Operator | Returns Documents Where... |
---|---|
Is | The selected value (Yes or No) is equal to the field value. |
Is not | The selected value (Yes or No) is not equal to the field value. This operator covers situations where the field is either the opposite of the chosen value or not set. For example, Is not with a value of Yes would cover values of No or unset values. |
Is set | The field is not empty. |
Is not set | The field is empty. |
Why was this not helpful?
Check one that applies.
Thank you for your feedback.
Want to tell us more?
Great!