# How to get result of text analysis per each word

**URL:** <https://discuss.elastic.co/t/how-to-get-result-of-text-analysis-per-each-word/19457>\
**Category:** Elasticsearch\
**Created:** [August 26, 2014, 9:46am UTC](https://discuss.elastic.co/t/how-to-get-result-of-text-analysis-per-each-word/19457 "2014-08-26T09:46:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Leonid](https://avatars.discourse-cdn.com/v4/letter/l/d9b06d/32.png) [@Leonid](https://discuss.elastic.co/u/Leonid)\
**Post date:** [August 26, 2014, 9:46am UTC](https://discuss.elastic.co/t/how-to-get-result-of-text-analysis-per-each-word/19457/1 "2014-08-26T09:46:40Z")

</div>

Hi All,

I have number of analyzers, per language. English analyzer has simple tokenizer, stop and stemmer.  
When I store document I need to know result of analyzer: stem of each word or "nothing" if the word is stopword.  
German analyzer has simple tokenizer, stop, decompounder and stemmer. For German, I need stem per word , "nothing" if the word is stop and stems for compound word.

Unfortunately, when I store document by

IndexRequestBuilder request = client.prepareIndex(indexName, typeName).setId(docId) .setSource(paramsMap);

it seems me like a blackbox where I don't have access to the result of analyzer.

Regards,

---

<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:** [July 6, 2017, 1:06am UTC](https://discuss.elastic.co/t/how-to-get-result-of-text-analysis-per-each-word/19457/2 "2017-07-06T01:06:33Z")

</div>


