Hello people,
thanks for this amazing plugin.
This is more info question than issue, but since WP forum support page is not monitored I decided to post it here, sorry if my decision is wrong :)
Is it possible to make plugin auto index content when it is posted?
Thanks!
Hi, thanks for your feedback. After an initial sync the plugin will automatically sync all changes and additions.
Hi @tott
Thanks for your very fast replay!
This are very good news.
Once again thanks!
As long as posts are created using regular WP APIs and running through the usual action/filter hooks ElasticPress will pick them up. If you have any plugins which work directly with the database and circumvent this behavior you can run into issues but other than that all post types returned here https://github.com/10up/ElasticPress/blob/2.8.1/classes/class-ep-config.php#L212 will be indexed. Comments, however, are not indexed.
@tott great, thanks!
And about comments, may i ask why ? :)
Thanks!
Hi @dnikola,
ElasticPress is configured to overwrite WordPress' WP_Query functionality. Most plugins abide by WP best practices by using WP_Query for all database interaction. However, if a plugin does not use it and instead uses $wpdb for a direct query, then ElasticPress cannot hijack it and perform the query on Elasticsearch.
Thank you for your inquiry.
@dnikola Comments are likely to be added in upcoming versions. Once version 3.0 is released it makes it easier for additional content types to be added to the plugin.
Most helpful comment
Hi, thanks for your feedback. After an initial sync the plugin will automatically sync all changes and additions.