contains
judges if the word segmentation result of a given string contains the the word segmentation result of a sub string
- Expression: ~
<fulltext>
contains "<subtext1>
*<subtext2>
* ..." - Operand: full-text index, string constant
- Pattern: fuzzy match (with star *) and precise match (w/o star *), refer to Full-text Index for details
Full-text contain exists only in Ultipa filter, and cannot appear as an expression in a UQL clause.
Common Usage
Example: Find products that contain keywords 'graph' and 'database' by the full-text index named 'prodDesc'
find().nodes({~prodDesc contains "graph database"})
return nodes
Please refer to Index | Full-text | LTE - Full-text Index for more examples.