HomeGuidesAPI ReferenceGraphQL
Submit Documentation FeedbackJoin Developer CommunityOptimizely GitHubOptimizely NuGetLog In

Fuzzy search

This topic describes the "fuzzy search" feature in Optimizely Search & Navigation. A fuzzy search query returns documents that contain terms similar to the search term.

How it works

Fuzzy search locates content likely to be relevant to a search argument even if that content does not match the search query exactly. Fuzzy search uses a fuzzy matching program, which returns results with likely relevance.

Optimizely Search & Navigation's "Fuzzy search" replicates the "fuzzy query" in Elasticsearch.

client.Search<MyIndexedObject>()
  .Filter(x => x.Author.MatchFuzzy("henric", 0.8))
  .GetResult()

See also: fuzzinessand the blog post Adding fuzzy filtering to the EPiServer Search & Navigation Fluent API.

Related blog post: Adding fuzzy filtering to the EPiServer Find Fluent API


Did this page help you?