A custom similarity can be updated by closing the index, updating the index settings,
and reopening the index. This allows you to experiment with different configurations
without having to reindex your documents.