# Sort field value score

**URL:** <https://discuss.elastic.co/t/sort-field-value-score/41609>\
**Category:** Elasticsearch\
**Created:** [February 12, 2016, 12:49pm UTC](https://discuss.elastic.co/t/sort-field-value-score/41609 "2016-02-12T12:49:33Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dimi\_Ortega](https://avatars.discourse-cdn.com/v4/letter/d/e56c9b/32.png) [@Dimi\_Ortega](https://discuss.elastic.co/u/Dimi_Ortega)\
**Post date:** [February 12, 2016, 12:49pm UTC](https://discuss.elastic.co/t/sort-field-value-score/41609/1 "2016-02-12T12:49:33Z")

</div>

Hi all,  
i am using the Java API to perform a query using a sort field of type. String that is indexed but not analyzed. can anyone tell me how the scoring for string fields works ? In my case this field contains phone numbers in maybe various Format and i want to understand how exactly the sorting is done in this case . can anyone help? Currently the sorting works "somehow" but i need to know why....

---

<div class="post-metadata">

**Author:** ![Dimi\_Ortega](https://avatars.discourse-cdn.com/v4/letter/d/e56c9b/32.png) [@Dimi\_Ortega](https://discuss.elastic.co/u/Dimi_Ortega)\
**Post date:** [February 21, 2016, 8:45am UTC](https://discuss.elastic.co/t/sort-field-value-score/41609/2 "2016-02-21T08:45:32Z")

</div>

Anyone?

---

<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:14pm UTC](https://discuss.elastic.co/t/sort-field-value-score/41609/3 "2017-07-05T23:14:39Z")

</div>


