I don’t know if this is helpful.
“When the “Re-index” button is clicked, FacetWP first retrieves all post IDs that should be indexed. It uses WP_Query, and the query arguments are customizable.
FacetWP then loops through the array of post IDs. For each, it loops through all available facets and saves applicable values.”