Update Suggestions ("Did you mean" feature!) authored by Fruth, Leon's avatar Fruth, Leon
......@@ -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
......
......