Added more query types (fuzzy, prefix, term)