TJ: range queries (for text).