diff --git a/ccplugin.py b/ccplugin.py index bae55dba843a513e5132293821f9a0c2a52a0481_Y2NwbHVnaW4ucHk=..7b8a91a2a28c499bc3672cedbee38b8f235a37a1_Y2NwbHVnaW4ucHk= 100644 --- a/ccplugin.py +++ b/ccplugin.py @@ -58,6 +58,8 @@ indexer = cnx.vreg['es'].select('indexer', cnx) es = indexer.get_connection() indexer.create_index() + if self.config.index_name: + indexer.create_index(index_name=self.config.index_name) if es: if self.config.etypes: etypes = self.config.etypes