Managed by | Updated .
The build_autoc command can be used to generate query completion .autoc files for a collection.
This can be called to construct auto-completion from arbitrary sources. It's commonly used post_swap or post_index to produce structured auto-completion
based off CSV data generated from the index.
$SEARCH_HOME/bin/build_autoc $SEARCH_HOME/data/$COLLECTION_NAME/$CURRENT_VIEW/idx/index $SEARCH_HOME/data/$COLLECTION_NAME/$CURRENT_VIEW/idx/index.suggest
When building auto-completion for a meta collection ensure you use the index.suggest file only from the meta collection and not from the component collections (otherwise you'll get duplicates in the suggestions).
Make sure the .autoc file that is built is copied to the meta collection's live/idx folder and that this file is pushed to any remote query processor servers.