From f70ec1cab7667437088397bed3f3ac01cb687568 Mon Sep 17 00:00:00 2001 From: Jean-Francois Dockes Date: Fri, 31 Jul 2015 11:23:17 +0200 Subject: [PATCH] comment --- src/common/textsplit.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/common/textsplit.cpp b/src/common/textsplit.cpp index 8a677a64..c41c7ce6 100644 --- a/src/common/textsplit.cpp +++ b/src/common/textsplit.cpp @@ -709,6 +709,12 @@ bool TextSplit::text_to_words(const string &in) // confusing. // ie "MySQL manual" is matched by "MySQL manual" and // "my sql manual" but not "mysql manual" + + // A possibility would be to emit both my and sql at the + // same position. All non-phrase searches would work, and + // both "MySQL manual" and "mysql manual" phrases would + // match too. "my sql manual" would not match, but this is + // not an issue. case A_ULETTER: if (m_span.length() && charclasses[(unsigned char)m_span[m_span.length() - 1]] ==