Bug fix in xsearch.
Update document.