# Fscrawler - change the index mapping，reduce redundant field or object

**URL:** <https://discuss.elastic.co/t/fscrawler-change-the-index-mapping-reduce-redundant-field-or-object/328296>\
**Category:** Elasticsearch\
**Created:** [March 23, 2023, 1:04am UTC](https://discuss.elastic.co/t/fscrawler-change-the-index-mapping-reduce-redundant-field-or-object/328296 "2023-03-23T01:04:41Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![bolo](https://avatars.discourse-cdn.com/v4/letter/b/898d66/32.png) [@bolo](https://discuss.elastic.co/u/bolo)\
**Post date:** [March 23, 2023, 1:04am UTC](https://discuss.elastic.co/t/fscrawler-change-the-index-mapping-reduce-redundant-field-or-object/328296/1 "2023-03-23T01:04:41Z")

</div>

i am new to fscrawler and really appreciate it. i know, the mapping can be changed. But to which content？just the analyzer? or the field type ? or the whole structure(because i dont want too much inner object). thank you

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [March 23, 2023, 6:51am UTC](https://discuss.elastic.co/t/fscrawler-change-the-index-mapping-reduce-redundant-field-or-object/328296/2 "2023-03-23T06:51:35Z")

</div>

If you want to remove some content generated by FSCrawler, I'd recommend to use an ingest pipeline which removes the fields you don't want.

---

<div class="post-metadata">

**Author:** ![bolo](https://avatars.discourse-cdn.com/v4/letter/b/898d66/32.png) [@bolo](https://discuss.elastic.co/u/bolo)\
**Post date:** [March 23, 2023, 7:03am UTC](https://discuss.elastic.co/t/fscrawler-change-the-index-mapping-reduce-redundant-field-or-object/328296/3 "2023-03-23T07:03:49Z")

</div>

🙏 🫂 I will study more about ingest.

---

<div class="post-metadata">

**Author:** ![bolo](https://avatars.discourse-cdn.com/v4/letter/b/898d66/32.png) [@bolo](https://discuss.elastic.co/u/bolo)\
**Post date:** [March 23, 2023, 7:22am UTC](https://discuss.elastic.co/t/fscrawler-change-the-index-mapping-reduce-redundant-field-or-object/328296/4 "2023-03-23T07:22:32Z")

</div>

If I only want to change the field type of file tltle from `keyword` to `text`, is the ingest necessary or just modifying the mapping will work? Because I want to do full-text search to both content and title.

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [March 23, 2023, 8:04pm UTC](https://discuss.elastic.co/t/fscrawler-change-the-index-mapping-reduce-redundant-field-or-object/328296/5 "2023-03-23T20:04:04Z")

</div>

Just modify the mapping if needed in that case.

---

<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:** [April 20, 2023, 8:04pm UTC](https://discuss.elastic.co/t/fscrawler-change-the-index-mapping-reduce-redundant-field-or-object/328296/6 "2023-04-20T20:04:19Z")

</div>

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