From 13401f46eaa0c50713d89b033ce4d74593bd71bc Mon Sep 17 00:00:00 2001 From: PSeitz Date: Sat, 21 Aug 2021 18:10:33 +0100 Subject: [PATCH] add wildcard mention --- src/query/regex_query.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/query/regex_query.rs b/src/query/regex_query.rs index fc77a1577..718cc1ec2 100644 --- a/src/query/regex_query.rs +++ b/src/query/regex_query.rs @@ -8,7 +8,10 @@ use tantivy_fst::Regex; /// A Regex Query matches all of the documents /// containing a specific term that matches -/// a regex pattern. +/// a regex pattern. +/// +/// Wildcard queries (e.g. ho*se) can be achieved +/// by converting them to their regex counterparts. /// /// ```rust /// use tantivy::collector::Count;