title: How do you get the max value from an elasticsearch field in Java plugin
body: <p>I'm writing a custom scoring native script for ElasticSearch.</p>
  
  <p>My script class is extending the AbstractFloatSearchScript abstract class.</p>
  
  <p>Everything is working fine; however, I'm wondering if it's possible, in my scoring method, to get the maximum value in elasticsearch for a particular field(these are integer values).</p>
  
  <p>I want the max value to assist me in my custom scoring.</p>