AndyB
Well-known member
In my add-on Change Author, I have a requirement to update the Elastic Search index. The add-on changes the author of a post. The only step I'm missing at this point is to update Elastic Search.
I would like to use this code with the appropriate code added:
I would need Elastic Search to be updated as if I were to enter a new post or edit an existing one.
Thank you.
I would like to use this code with the appropriate code added:
PHP:
// check if ElasticSearch is enabled
if (XenForo_Application::get('options')->enableElasticsearch)
{
// add code here to update ElasticSearch index
}
I would need Elastic Search to be updated as if I were to enter a new post or edit an existing one.
Thank you.