Michael Born
Web developer at Ortus Solutions
Michael Born
@michaelborn_me
the process of analyzing documents and search queries to find relevant results for the searcher's intent
the opposite of exact match searching
OR
hptdog
hotdog
no results found for "hptdog".
for
lord
god
your
who
hold
takes
your
says
right
hand
will
fear
help
you
For I am the Lord your God
who takes hold of your right hand
and says to you, Do not fear;
I will help you.
- Isaiah 41:13
Analyzer
Examples:
Examples:
Tokenizers “split” a piece of text into discrete indexable chunks
Examples
A configuration package including filters and tokenizers
By default:
hptdog
hotdog
no results found for "hptdog".
hptdog
hotdog
no results found for "hptdog".
A metric for calculating the similarity of two strings
coat
getInstance( "SearchBuilder@CbElasticSearch" )
.new( "reviews" )
.setQuery({
"fuzzy": {
"text": {
"value": event.getValue( "query" ),
"fuzziness" : "1"
}
}
})
.execute();
getInstance( "SearchBuilder@CbElasticSearch" )
.new( "reviews" )
.setQuery({
"fuzzy": {
"text": {
"value": event.getValue( "query" ),
"fuzziness" : "AUTO"
}
}
})
.execute();
By Michael Born
Take a walk through the world of search in this webinar which will show why your database search is not smart enough, explain the basics of how fuzzy search works, and show how to use CBElasticsearch to bring the power of fuzzy searching to your CF application.