# Shingles comes with placeholders from stop words, how do I change this behaviour?

**URL:** <https://discuss.elastic.co/t/shingles-comes-with-placeholders-from-stop-words-how-do-i-change-this-behaviour/83943>\
**Category:** Elasticsearch\
**Created:** [April 27, 2017, 9:32pm UTC](https://discuss.elastic.co/t/shingles-comes-with-placeholders-from-stop-words-how-do-i-change-this-behaviour/83943 "2017-04-27T21:32:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![hey-arnold](https://avatars.discourse-cdn.com/v4/letter/h/a4c791/32.png) [@hey-arnold](https://discuss.elastic.co/u/hey-arnold)\
**Post date:** [April 27, 2017, 9:32pm UTC](https://discuss.elastic.co/t/shingles-comes-with-placeholders-from-stop-words-how-do-i-change-this-behaviour/83943/1 "2017-04-27T21:32:52Z")

</div>

So I am using shingles, with elastic version 5.2.2.

I am using an index with an english language analyser modified with shingles ( word n-grams ). With shingles, there is a filler\_token which replaces parts with no token (e.g: stop word was removed).

The issue I have, is I get back n-grams of the form "q1 \_ q2", where \_ is some replace stop word. I do not want this behaviour, as I don't find it benefits my search results.

I want it so either placeholders don't get used in shingles, they just get ignored. Or, they are skipped (e.g:' fish \_ chips', the 2-single 'fish chips' gets picked up .

(Some dude made a post @ [https://www.elastic.co/blog/searching-with-shingles](https://www.elastic.co/blog/searching-with-shingles) , he achieves what I want with [https://www.elastic.co/blog/searching-with-shingles](https://www.elastic.co/blog/searching-with-shingles). But this is deprecated, for good reason)  
Cheers!

---

<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:** [May 25, 2017, 9:43pm UTC](https://discuss.elastic.co/t/shingles-comes-with-placeholders-from-stop-words-how-do-i-change-this-behaviour/83943/2 "2017-05-25T21:43:30Z")

</div>

Closed on May 25, 2017, 9:43pm UTC

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