okfn/elasticsearch.js — pull request #5 by kielni (2013-08-08 18:32:14+00:00)
Title: Term query case

remove .toLowerCase() filter.term since terms are case-sensitive and the user may not want to change the case. For example, I am using not_analyzed fields as filters so they do not get lowercased by Elasticsearch. If the term gets lowercased in the filter query, it doesn't match.