# Querying analyzed fields

**URL:** <https://discuss.elastic.co/t/querying-analyzed-fields/102521>\
**Category:** Elasticsearch\
**Created:** [October 3, 2017, 7:32am UTC](https://discuss.elastic.co/t/querying-analyzed-fields/102521 "2017-10-03T07:32:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![pkmital](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pkmital/32/22714_2.png) [@pkmital](https://discuss.elastic.co/u/pkmital)\
**Post date:** [October 3, 2017, 7:32am UTC](https://discuss.elastic.co/t/querying-analyzed-fields/102521/1 "2017-10-03T07:32:17Z")

</div>

Hi

I'm attempting to set a field as "indexed": "analyzed" in 5.6 without any luck. It seems the "string" type is deprecated, and specifying the "string" type no longer works when specifying the mapping. Even though there is no error, the resulting mapping is replaced by "text", and the "indexed": "analyzed" parameter is not shown in the resulting mapping.

Is there any way to query a field and see its analyzed values? This is part of an attempt at using an analyzer for min hashing on a string field representing a list of numbers with whitespaces. I've setup an analyzer w/ a "whitespace" tokenizer, and the "min\_hash" analyzer. The resulting method for getting the analyzer's output seems like it is in fact computing binary strings, but I'd like to be able to get an actual hashes for a given document.

---

<div class="post-metadata">

**Author:** ![pkmital](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pkmital/32/22714_2.png) [@pkmital](https://discuss.elastic.co/u/pkmital)\
**Post date:** [October 6, 2017, 6:46pm UTC](https://discuss.elastic.co/t/querying-analyzed-fields/102521/2 "2017-10-06T18:46:13Z")

</div>

Just to answer my own question, stored fields are never the analyzed fields. But through [https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-termvectors.html](https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-termvectors.html), the analyze API, and explain API you can see what's happening.

---

<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 3, 2017, 6:46pm UTC](https://discuss.elastic.co/t/querying-analyzed-fields/102521/3 "2017-11-03T18:46:43Z")

</div>

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