# How to dump the index and posting list?

**URL:** <https://discuss.elastic.co/t/how-to-dump-the-index-and-posting-list/261977>\
**Category:** Elasticsearch\
**Created:** [January 23, 2021, 7:01am UTC](https://discuss.elastic.co/t/how-to-dump-the-index-and-posting-list/261977 "2021-01-23T07:01:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ralgo](https://avatars.discourse-cdn.com/v4/letter/r/9f8e36/32.png) [@ralgo](https://discuss.elastic.co/u/ralgo)\
**Post date:** [January 23, 2021, 7:01am UTC](https://discuss.elastic.co/t/how-to-dump-the-index-and-posting-list/261977/1 "2021-01-23T07:01:11Z")

</div>

I am writing an [analysis plugin](https://github.com/ralgond/elasticsearch-analysis-edgengram) for elasticsearch, which maps a sentence to a prefix array. e.g. "EVA EGG京" will be mapped to term array [E, EV, EVA, E, EG, EGG, 京].

However, when I search one of [E，EV，EVA，E, EG，EGG], they match nothing. I use the query: `GET my-index-001/_termvectors/1?fields=name` , it shows that [E，EV，EVA，E, EG，EGG] all exist.

So, to debug this question, I want to dump the index to see what has been index, can someone give me a hint?

---

<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:** [February 20, 2021, 7:01am UTC](https://discuss.elastic.co/t/how-to-dump-the-index-and-posting-list/261977/2 "2021-02-20T07:01:22Z")

</div>

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