Autocompletion - return partial document