title: elasticsearch 1.4.4 error using script filter with script_file
body: <p>Using Elasticsearch 1.4.4, I have this script -</p>
  
  <pre><code>doc[field].date.getMinuteOfDay() &gt;= gte &amp;&amp; doc[field].date.getMinuteOfDay() &lt;= lte
  </code></pre>
  
  <p>Stored here - <strong>config/script/minuteOfDayRange.groovy</strong></p>
  
  <p>I run this query:</p>
  
  <pre><code>POST test_index/_search
  {
    "filter": {
      "script": {
        "script_file": "minuteOfDayRange",
        "params": {
          "field": "start_time",
          "gte": 0,
          "lte": 1439
        }
      }
    },
    "size": 0
  }
  </code></pre>
  
  <p>and get an error.  Here is part of the error (it's really big so I tried to show only the parts that looked the most helpful):</p>
  
  <p><strong>"error": "SearchPhaseExecutionException[Failed to execute phase [query], all shards failed;......nested: QueryParsingException[[test_index] [script] filter does not support [script_file]];......</strong></p>
  
  <p>It sounds like this part of the error with <strong>[script] filter does not support [script_file]</strong> is saying script filters don't work with <strong>script_file</strong>.  Is that correct?  I've used <strong>script_file</strong> to generate terms with success on this same index.  Previous to updating to 1.4.4 this same filter worked using dynamic scripts, but I am now using the <strong>script_file</strong> method since updating to 1.4.4.  Is it possible for me to use a script filter in a file, and if so, how?</p>