# How to retrieve detailed mapping info for a field?

**URL:** <https://discuss.elastic.co/t/how-to-retrieve-detailed-mapping-info-for-a-field/13685>\
**Category:** Elasticsearch\
**Created:** [September 19, 2013, 3:58am UTC](https://discuss.elastic.co/t/how-to-retrieve-detailed-mapping-info-for-a-field/13685 "2013-09-19T03:58:34Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Arkadiy\_Rudin](https://avatars.discourse-cdn.com/v4/letter/a/ac91a4/32.png) [@Arkadiy\_Rudin](https://discuss.elastic.co/u/Arkadiy_Rudin)\
**Post date:** [September 19, 2013, 3:58am UTC](https://discuss.elastic.co/t/how-to-retrieve-detailed-mapping-info-for-a-field/13685/1 "2013-09-19T03:58:34Z")

</div>

Get mapping only returns the field type.  
How to retrieve other fields values - like index, store, etc.?  
Ark

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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:** [September 19, 2013, 4:32am UTC](https://discuss.elastic.co/t/how-to-retrieve-detailed-mapping-info-for-a-field/13685/2 "2013-09-19T04:32:39Z")

</div>

If not explicity set by you, it means that defaults are used.

## HTH

David 😉  
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 19 sept. 2013 à 05:58, Arkadiy Rudin [arkrud85@gmail.com](mailto:arkrud85@gmail.com) a écrit :

> ## Get mapping only returns the field type. How to retrieve other fields values - like index, store, etc.? Ark
> 
> You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![Arkadiy\_Rudin](https://avatars.discourse-cdn.com/v4/letter/a/ac91a4/32.png) [@Arkadiy\_Rudin](https://discuss.elastic.co/u/Arkadiy_Rudin)\
**Post date:** [September 19, 2013, 12:46pm UTC](https://discuss.elastic.co/t/how-to-retrieve-detailed-mapping-info-for-a-field/13685/3 "2013-09-19T12:46:13Z")

</div>

On Thursday, September 19, 2013 12:32:39 AM UTC-4, David Pilato wrote:

> If not explicity set by you, it means that defaults are used.
> 
> ## HTH
> 
> David 😉  
> Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
> 
> Le 19 sept. 2013 à 05:58, Arkadiy Rudin \<[arkr...@gmail.com](mailto:arkr...@gmail.com) \<javascript:\>\>  
> a écrit :
> 
> Get mapping only returns the field type.  
> How to retrieve other fields values - like index, store, etc.?  
> Ark
> 
> --  
> You received this message because you are subscribed to the Google Groups  
> "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an  
> email to [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com) \<javascript:\>.  
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![Arkadiy\_Rudin](https://avatars.discourse-cdn.com/v4/letter/a/ac91a4/32.png) [@Arkadiy\_Rudin](https://discuss.elastic.co/u/Arkadiy_Rudin)\
**Post date:** [September 19, 2013, 12:49pm UTC](https://discuss.elastic.co/t/how-to-retrieve-detailed-mapping-info-for-a-field/13685/4 "2013-09-19T12:49:54Z")

</div>

I set some options explicity and I see them working when I query the index.  
But GET mappings is not showing them.  
So my question is - how I can see the options I set?

On Thursday, September 19, 2013 12:32:39 AM UTC-4, David Pilato wrote:

> If not explicity set by you, it means that defaults are used.
> 
> ## HTH
> 
> David 😉  
> Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
> 
> Le 19 sept. 2013 à 05:58, Arkadiy Rudin \<[arkr...@gmail.com](mailto:arkr...@gmail.com) \<javascript:\>\>  
> a écrit :
> 
> Get mapping only returns the field type.  
> How to retrieve other fields values - like index, store, etc.?  
> Ark
> 
> --  
> You received this message because you are subscribed to the Google Groups  
> "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an  
> email to [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com) \<javascript:\>.  
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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:** [September 19, 2013, 1:41pm UTC](https://discuss.elastic.co/t/how-to-retrieve-detailed-mapping-info-for-a-field/13685/5 "2013-09-19T13:41:08Z")

</div>

Could you Gist a curl recreation?  
I would like to understand what happens here.

--  
David Pilato | Technical Advocate | [Elasticsearch.com](http://Elasticsearch.com)  
@dadoonet | @elasticsearchfr | @scrutmydocs

Le 19 sept. 2013 à 14:49, Arkadiy Rudin [arkrud85@gmail.com](mailto:arkrud85@gmail.com) a écrit :

> I set some options explicity and I see them working when I query the index.  
> But GET mappings is not showing them.  
> So my question is - how I can see the options I set?
> 
> On Thursday, September 19, 2013 12:32:39 AM UTC-4, David Pilato wrote:  
> If not explicity set by you, it means that defaults are used.
> 
> ## HTH
> 
> David 😉  
> Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
> 
> Le 19 sept. 2013 à 05:58, Arkadiy Rudin [arkr...@gmail.com](mailto:arkr...@gmail.com) a écrit :
> 
> > Get mapping only returns the field type.  
> > How to retrieve other fields values - like index, store, etc.?  
> > Ark
> > 
> > --  
> > You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
> > To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com).  
> > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).
> 
> --  
> You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![Arkadiy\_Rudin](https://avatars.discourse-cdn.com/v4/letter/a/ac91a4/32.png) [@Arkadiy\_Rudin](https://discuss.elastic.co/u/Arkadiy_Rudin)\
**Post date:** [September 20, 2013, 8:27pm UTC](https://discuss.elastic.co/t/how-to-retrieve-detailed-mapping-info-for-a-field/13685/6 "2013-09-20T20:27:09Z")

</div>

Hi David,

You were right and I was confused a bit.  
Initially I had a index mapping with all defaults for my "string" type  
field.  
Then I added "index": "analyzed". After getting mappings back I was unable  
to see this in the mapping JSON.  
And it is correct becuase "analyzed" is default value.

I was ajusting the fileld only because I was searching using some of my  
terms which started with uppercase letter (like Obama) and it was not  
returning results. When searched with same term in all lovercase it is  
returning results as expected.  
I am new to ES and was using /head Structured Query interface which acts  
this way with uppercase.  
Is it by the way an expected behavier and how to make sure that query will  
return hits on terms started with uppercase?

Thank You

Arkadiy

On Thursday, September 19, 2013 9:41:08 AM UTC-4, David Pilato wrote:

> Could you Gist a curl recreation?  
> I would like to understand what happens here.
> 
> ```
> -- 
> 
> ```
> 
> _David Pilato_ | _Technical Advocate_ | _[Elasticsearch.com](http://Elasticsearch.com)_  
> @dadoonet [https://twitter.com/dadoonet](https://twitter.com/dadoonet) | @elasticsearchfr[https://twitter.com/elasticsearchfr](https://twitter.com/elasticsearchfr)  
> | @scrutmydocs [https://twitter.com/scrutmydocs](https://twitter.com/scrutmydocs)
> 
> Le 19 sept. 2013 à 14:49, Arkadiy Rudin \<[arkr...@gmail.com](mailto:arkr...@gmail.com) \<javascript:\>\>  
> a écrit :
> 
> I set some options explicity and I see them working when I query the  
> index.  
> But GET mappings is not showing them.  
> So my question is - how I can see the options I set?
> 
> On Thursday, September 19, 2013 12:32:39 AM UTC-4, David Pilato wrote:
> 
> > If not explicity set by you, it means that defaults are used.
> > 
> > ## HTH
> > 
> > David 😉  
> > Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
> > 
> > Le 19 sept. 2013 à 05:58, Arkadiy Rudin [arkr...@gmail.com](mailto:arkr...@gmail.com) a écrit :
> > 
> > Get mapping only returns the field type.  
> > How to retrieve other fields values - like index, store, etc.?  
> > Ark
> > 
> > --  
> > You received this message because you are subscribed to the Google Groups  
> > "elasticsearch" group.  
> > To unsubscribe from this group and stop receiving emails from it, send an  
> > email to [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com).  
> > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).
> 
> --  
> You received this message because you are subscribed to the Google Groups  
> "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an  
> email to [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com) \<javascript:\>.  
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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:** [September 20, 2013, 9:01pm UTC](https://discuss.elastic.co/t/how-to-retrieve-detailed-mapping-info-for-a-field/13685/7 "2013-09-20T21:01:49Z")

</div>

Run a match query (analyzed) instead of a term query (not analyzed).

--  
David 😉  
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 20 sept. 2013 à 22:27, Arkadiy Rudin [arkrud85@gmail.com](mailto:arkrud85@gmail.com) a écrit :

> Hi David,
> 
> You were right and I was confused a bit.  
> Initially I had a index mapping with all defaults for my "string" type field.  
> Then I added "index": "analyzed". After getting mappings back I was unable to see this in the mapping JSON.  
> And it is correct becuase "analyzed" is default value.
> 
> I was ajusting the fileld only because I was searching using some of my terms which started with uppercase letter (like Obama) and it was not returning results. When searched with same term in all lovercase it is returning results as expected.  
> I am new to ES and was using /head Structured Query interface which acts this way with uppercase.  
> Is it by the way an expected behavier and how to make sure that query will return hits on terms started with uppercase?
> 
> Thank You
> 
> Arkadiy
> 
> On Thursday, September 19, 2013 9:41:08 AM UTC-4, David Pilato wrote:
> 
> > Could you Gist a curl recreation?  
> > I would like to understand what happens here.
> > 
> > --  
> > David Pilato | Technical Advocate | [Elasticsearch.com](http://Elasticsearch.com)  
> > @dadoonet | @elasticsearchfr | @scrutmydocs
> > 
> > Le 19 sept. 2013 à 14:49, Arkadiy Rudin [arkr...@gmail.com](mailto:arkr...@gmail.com) a écrit :
> > 
> > > I set some options explicity and I see them working when I query the index.  
> > > But GET mappings is not showing them.  
> > > So my question is - how I can see the options I set?
> > > 
> > > On Thursday, September 19, 2013 12:32:39 AM UTC-4, David Pilato wrote:
> > > 
> > > > If not explicity set by you, it means that defaults are used.
> > > > 
> > > > ## HTH
> > > > 
> > > > David 😉  
> > > > Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
> > > > 
> > > > Le 19 sept. 2013 à 05:58, Arkadiy Rudin [arkr...@gmail.com](mailto:arkr...@gmail.com) a écrit :
> > > > 
> > > > > Get mapping only returns the field type.  
> > > > > How to retrieve other fields values - like index, store, etc.?  
> > > > > Ark
> > > > > 
> > > > > --  
> > > > > You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
> > > > > To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com).  
> > > > > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).
> > > 
> > > --  
> > > You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
> > > To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com).  
> > > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).
> 
> --  
> You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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, 2:15am UTC](https://discuss.elastic.co/t/how-to-retrieve-detailed-mapping-info-for-a-field/13685/8 "2017-07-06T02:15:18Z")

</div>


