eDaddi Active member Oct 12, 2021 #1 Looking to add a new index with data from a non-XF table. Can I load elasticsearch with XF's code and create a new index?
Looking to add a new index with data from a non-XF table. Can I load elasticsearch with XF's code and create a new index?
Jeremy P XenForo developer Staff member Oct 13, 2021 #2 You can use \XFES\Listener::getElasticsearchApi to get an instance of \XFES\Elasticsearch\Api, which has a createIndex method. Upvote 0 Downvote
You can use \XFES\Listener::getElasticsearchApi to get an instance of \XFES\Elasticsearch\Api, which has a createIndex method.