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

Solr Search returns fuzzy results in quoted term search

New Here ,
Aug 12, 2013 Aug 12, 2013

Copy link to clipboard

Copied

I am trying to get some output from the Solr search

If I search for "Fund Administrator", which should only return 2 records, I get 5 records because 3 of the search results are fund administration

How do i prevent fuzzy returns on quoted values?

qSearch equlas "Fund Administrator" including quotes

        <cfsearch 

              collection = "#sCollection#"

              name = "search"

              contextHighlightBegin = '<span class="search-format">'

              contextHighlightEnd = "</span>"

              contextPassages = "3"

              criteria = 'title:#qSearch#^2 #qSearch#'

              status = "structSearchPublic"

              suggestions = "never"

              >

TIA

Views

988

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

correct answers 1 Correct answer

Enthusiast , Aug 12, 2013 Aug 12, 2013

For fuzzy search

< cfsearch name="mysolrsearch"                    collection="mysolr"                    criteria="Fund Administrator~">

Votes

Translate

Translate
Enthusiast ,
Aug 12, 2013 Aug 12, 2013

Copy link to clipboard

Copied

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
New Here ,
Aug 12, 2013 Aug 12, 2013

Copy link to clipboard

Copied

I still need fuzzy search, just not when the term is quoted, from the info in the link it seems that chnage this will make all searches exact, I only want exact when the string is quoted.

is there any way to manage it just on a per phrase basis

soa search for "This exact" fuzzy will do an exact match on the quoted element and a fuzzy search on non-quoted terms?

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
Enthusiast ,
Aug 12, 2013 Aug 12, 2013

Copy link to clipboard

Copied

For fuzzy search

< cfsearch name="mysolrsearch"                    collection="mysolr"                    criteria="Fund Administrator~">

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
New Here ,
Aug 12, 2013 Aug 12, 2013

Copy link to clipboard

Copied

LATEST

ok,

thanks.

this is something i will nedto consider before implemtning.

thanks again.

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