Subject: | RangeQuery shouldn't let you use non-sortable fields |
The KinoSearch::Search::RangeQuery constructor should throw an exception if you hand it a field
that isn't sortable.
Currently, it allows you build a query object with a non-sortable field. However (unless my
observations are incorrect) it then proceeds to always return zero hits, no matter the supplied
terms. Dying on construction would be preferable to failing silently.