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
For fuzzy search
< cfsearch name="mysolrsearch" collection="mysolr" criteria="Fund Administrator~">
Copy link to clipboard
Copied
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?
Copy link to clipboard
Copied
For fuzzy search
< cfsearch name="mysolrsearch" collection="mysolr" criteria="Fund Administrator~">
Copy link to clipboard
Copied
ok,
thanks.
this is something i will nedto consider before implemtning.
thanks again.