Search for a text fragment
Sometimes it is useful to search for a text fragment, such as a sentence, a line, a paragraph or a whole document. For this purpose, one can use the functions sentence(), line(), paragraph() and document() called without arguments.
Syntax
These functions have no required arguments. When called without arguments, they match all sentences, lines, paragraphs or documents respectively.
For more information about these functions, please see Unordered Proximity Search description.
Example
Task example: Searching for newspaper headlines
In order to find newspaper headlines written in titlecase, the following query can be used:
case(title, sentence())