Exclude Products to index based on ACF Field

  • 11 months, 4 weeks ago #33137

    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.

    11 months, 4 weeks ago #33138

    WPSOLR_Events::WPSOLR_FILTER_SQL_QUERY_STATEMENT can be used to filter indexed data: https://www.wpsolr.com/forums/reply/30869/

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.