truncate by max_matches.
print out query lookup time, not including indexing.