Change order of db and query argument in xsearch method
Update README example