Handle the problem of encoding, use object sturcture and add rankSearch.php to re-ranking search results