Support for Regex in Text Search second pass

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Text Search
    • None
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • 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.

              Assignee:
              Unassigned
              Reporter:
              John Page
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: