• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

CFSEARCH Fuzzy Searching

Guest
Apr 02, 2009 Apr 02, 2009

Copy link to clipboard

Copied

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?
TOPICS
Advanced techniques

Views

624

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Apr 02, 2009 Apr 02, 2009

Copy link to clipboard

Copied

LATEST
> 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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation