- Python
- TypeScript
The Note: Full-text search is case-sensitive.Here we get all records whose documents matches the regex pattern for an email address:An
where_document argument in get and query is used to filter records based on their document content.We support full-text search with the $contains and $not_contains operators. We also support regular expression pattern matching with the $regex and $not_regex operators.For example, here we get all records whose document contains a search string:Using Logical Operators
You can also use the logical operators$and and $or to combine multiple filters.An $and operator will return results that match all the filters in the list:$or operator will return results that match any of the filters in the list:Combining with Metadata Filtering
.get and .query can handle where_document search combined with metadata filtering: