Index entries representing ranges of values are queried with a query value
to determine if the query value is in one of the ranges. Numeric ranges
are represented in an index and queries are constructed to match index
entries. Search terms are constructed from the query value, such that a
search term matches an index entry if and only if the queried for valued
is in the range represented by the index entry. To facilitate querying
the indexes, queries are constructed to contain search terms having a
data structure format similar to that of the index entries.