Support prefix/suffix/range queries in indexes

* Prefix queries of strings
* Suffix queries of strings
* Range queries of numbers