# Getting the "field length norms"

**URL:** <https://discuss.elastic.co/t/getting-the-field-length-norms/40069>\
**Category:** Elasticsearch\
**Created:** [January 25, 2016, 11:42pm UTC](https://discuss.elastic.co/t/getting-the-field-length-norms/40069 "2016-01-25T23:42:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![shreejay](https://avatars.discourse-cdn.com/v4/letter/s/858c86/32.png) [@shreejay](https://discuss.elastic.co/u/shreejay)\
**Post date:** [January 25, 2016, 11:42pm UTC](https://discuss.elastic.co/t/getting-the-field-length-norms/40069/1 "2016-01-25T23:42:27Z")

</div>

Hi,  
In [ES documentation](https://www.elastic.co/guide/en/elasticsearch/guide/current/script-score.html) its mentioned that scripts can access a a variety of information like "field length norms".

> The script\_score function provides enormous flexibility. Within a script, you have access to the fields of the document, to the current \_score, and even to the term frequencies, inverse document frequencies, and field length norms (see Text scoring in scripts).

I could not find any docs mentioning how exactly to get the value for it.

Can this value be accessed like, say, "\_index['FIELD'].sumttf()" ?

--shreejay

---

<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 5, 2017, 11:21pm UTC](https://discuss.elastic.co/t/getting-the-field-length-norms/40069/2 "2017-07-05T23:21:49Z")

</div>


