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

Solr Search returns fuzzy results in quoted term search

Guest
Aug 12, 2013 Aug 12, 2013

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

1.0K
Translate
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~">

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

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?

Translate
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

For fuzzy search

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

Translate
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
Guest
Aug 12, 2013 Aug 12, 2013
LATEST

ok,

thanks.

this is something i will nedto consider before implemtning.

thanks again.

Translate
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