# Stopword filter not working after reindex

**URL:** <https://discuss.elastic.co/t/stopword-filter-not-working-after-reindex/153150>\
**Category:** Elasticsearch\
**Created:** [October 19, 2018, 10:04am UTC](https://discuss.elastic.co/t/stopword-filter-not-working-after-reindex/153150 "2018-10-19T10:04:22Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![newnewb](https://avatars.discourse-cdn.com/v4/letter/n/c37758/32.png) [@newnewb](https://discuss.elastic.co/u/newnewb)\
**Post date:** [October 19, 2018, 10:04am UTC](https://discuss.elastic.co/t/stopword-filter-not-working-after-reindex/153150/1 "2018-10-19T10:04:22Z")

</div>

Is there any reason a newly created index, which is exactly the same as the original one, wouldn't be filtering out stopwords?

Reindexing locally like this:

> POST \_reindex  
> {  
> "source": {"index" : "data-live"},  
> "dest": {"index": "data-live2"}  
> }

Followed by:

> POST data-live2/\_forcemerge

---

<div class="post-metadata">

**Author:** ![nik9000](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nik9000/32/44947_2.png) [@nik9000](https://discuss.elastic.co/u/nik9000)\
**Post date:** [October 19, 2018, 6:10pm UTC](https://discuss.elastic.co/t/stopword-filter-not-working-after-reindex/153150/2 "2018-10-19T18:10:05Z")

</div>

Reindexing doesn't copy the index settings and mapping. That is usually why things like this happen.

---

<div class="post-metadata">

**Author:** ![newnewb](https://avatars.discourse-cdn.com/v4/letter/n/c37758/32.png) [@newnewb](https://discuss.elastic.co/u/newnewb)\
**Post date:** [October 22, 2018, 7:23am UTC](https://discuss.elastic.co/t/stopword-filter-not-working-after-reindex/153150/3 "2018-10-22T07:23:52Z")

</div>

The new index has the same settings and mapping, the only difference being: a new analyzer field was added in the new mapping.

Shouldn't reindexing still include the stopwords filter on the analyzer existing in both indices?

---

<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:** [November 19, 2018, 7:23am UTC](https://discuss.elastic.co/t/stopword-filter-not-working-after-reindex/153150/4 "2018-11-19T07:23:57Z")

</div>

Closed on November 19, 2018, 7:23am UTC

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