Better integration between autocompletion and searching