Exclude Products to index based on ACF Field
Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.
Hi, I am aware that there is wpsolr_no_index option to exclude posts/products from index.
But can you provide me any hook, which can check for a acf field(date), that is being sent to solr index with post data, and depending on the value, include or exclude from index.
WPSOLR_Events::WPSOLR_FILTER_SQL_QUERY_STATEMENT can be used to filter indexed data: https://www.wpsolr.com/forums/reply/30869/
You must be logged in to reply to this topic.