# How can I custom a SortParser in es?

**URL:** <https://discuss.elastic.co/t/how-can-i-custom-a-sortparser-in-es/21266>\
**Category:** Elasticsearch\
**Created:** [December 16, 2014, 3:36am UTC](https://discuss.elastic.co/t/how-can-i-custom-a-sortparser-in-es/21266 "2014-12-16T03:36:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ynuhcl](https://avatars.discourse-cdn.com/v4/letter/y/df705f/32.png) [@ynuhcl](https://discuss.elastic.co/u/ynuhcl)\
**Post date:** [December 16, 2014, 3:36am UTC](https://discuss.elastic.co/t/how-can-i-custom-a-sortparser-in-es/21266/1 "2014-12-16T03:36:05Z")

</div>

hi~ all:  
I have a Issue about how to do a customer scorer in es, i see  
the es guide about score script or do some score function in query, but my  
question is that my score is not in my lucene index fields, we have a  
external Argorithm Program that caculate our item score, then , i want add  
a timer plugin in es, pull the scores from the Argorithm Program every 5  
min. so, in this scene, should i extends a SortParser in es and write a  
plugin ? and how .... ? is there a plugin example like this scene?

```
      thanks for help!

```

--  
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).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/7e3a91c2-bc1d-40ec-927f-96fce843308e%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/7e3a91c2-bc1d-40ec-927f-96fce843308e%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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, 12:43am UTC](https://discuss.elastic.co/t/how-can-i-custom-a-sortparser-in-es/21266/2 "2017-07-06T00:43:36Z")

</div>


