java API for fuzzy queries to DB.