1 Reply Latest reply on Apr 2, 2009 2:22 PM by Newsgroup_User

    CFSEARCH Fuzzy Searching

    McLinux
      Is there a way to access the fuzzy search results that CFSEARCH uses to highlight strings when context highlighting is enabled? If I enter a search string "apple" and Verity highlights "apply", "apples" and "appl1" in the context passages, how can I access these fuzzy search results?

      I have written my own highlighting function to highlight text that are not necessarily context passages but I can only highlight the original search string that I entered. I would also like to highlight the fuzzy search strings that Verity finds.

      Any suggestions?
        • 1. Re: CFSEARCH Fuzzy Searching
          Level 7
          > Is there a way to access the fuzzy search results that CFSEARCH uses to
          > highlight strings when context highlighting is enabled? If I enter a search
          > string "apple" and Verity highlights "apply", "apples" and "appl1" in the
          > context passages, how can I access these fuzzy search results?
          >
          > I have written my own highlighting function to highlight text that are not
          > necessarily context passages but I can only highlight the original search
          > string that I entered. I would also like to highlight the fuzzy search strings
          > that Verity finds.
          >
          > Any suggestions?

          Interesting. This is a bit ham-fisted, but you could do a regex match for
          whatever is between the contextHighligthBegin and contextHighlightEnd
          markers, and pull the matched words straight out of the context passages.

          I'm not sure if this is feasible... I've only spent as much time thinking
          about it as it took to type. But it might work?

          --
          Adam