-
Type: Improvement
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Text Search
-
None
In Full text Search (FTS) queries for phrases are not indexed but resolved, post-index using the following line.
return strcasestr( haystack.c_str(), phrase.c_str() ) != NULL;
This includes single word searches using "bob" "jim" to ensure an AND relationship. If we could change the above to support regex matches (it's a string to string match so not hard) then we can support wildcards, proximity and all sorts of other big boy free text search features.
I'd offer a patch but I doubt it would be up the standards required and unless I know it's going in it's not worth the effort.
- duplicates
-
SERVER-10227 Add regex support to FTS command/queries
- Backlog