# Completion Suggester with the Slop parameter

**URL:** <https://discuss.elastic.co/t/completion-suggester-with-the-slop-parameter/119542>\
**Category:** Elasticsearch\
**Created:** [February 12, 2018, 7:38pm UTC](https://discuss.elastic.co/t/completion-suggester-with-the-slop-parameter/119542 "2018-02-12T19:38:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tallosan](https://avatars.discourse-cdn.com/v4/letter/t/87869e/32.png) [@tallosan](https://discuss.elastic.co/u/tallosan)\
**Post date:** [February 12, 2018, 7:38pm UTC](https://discuss.elastic.co/t/completion-suggester-with-the-slop-parameter/119542/1 "2018-02-12T19:38:06Z")

</div>

How can I use the [slop](https://www.elastic.co/guide/en/elasticsearch/guide/current/slop.html) parameter, or achieve the same functionality, with the [Completion Suggester](https://www.elastic.co/guide/en/elasticsearch/reference/current/search-suggesters-completion.html)?

An example use for this is if a User is typing the query `"Quick fox"`, and I have the document `"Quick Brown Fox"`, I want to be able to suggest the document `"Quick Brown Fox"`.

```
Documents: ["Quick Brown Fox", "Quick foxes", ...]

Query:
>> "Quick fox"

Results:
>> "Quick foxes"
>> "Quick Brown Fox"
>> ...
```

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [March 12, 2018, 7:38pm UTC](https://discuss.elastic.co/t/completion-suggester-with-the-slop-parameter/119542/2 "2018-03-12T19:38:17Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
