Changes
Page history
Update Suggestions ("Did you mean" feature!)
authored
Jul 06, 2022
by
Fruth, Leon
Show whitespace changes
Inline
Side-by-side
Suggestions-("Did-you-mean"-feature!).md
View page @
824c80cd
...
...
@@ -84,12 +84,12 @@ Results:
### Settings and Parameters
[
Parameters Documentation
](
https://www.elastic.co/guide/en/elasticsearch/reference/current/search-suggesters.html#_basic_phrase_suggest_api_parameters
)
-
*max_errors*
: sets how many terms in a phrase are corrected. Default value set to 1. In these tests I set the value to 2!
-
*analyzer*
:
TODO: How does this work
?
-
*analyzer*
:
One could implement e.g. synonym suggestions?!
?
## Building
a
"Did you mean"-Feature
## Building
the
"Did you mean"-Feature
### Idea:
1.
Using the phrase suggester on the title field and the body field
1.
Using the phrase suggester on the title field and the body field
(fulltext / description)
2.
Aggregating the results
3.
Return top result
...
...
...
...