disable facet indexer for a url

<?php

add_filter( 'facetwp_indexer_is_enabled', function( $enabled ) {
    if ( 'test.php' == FWP()->helper->get_uri() ) { // change test.php
        return false;
    }
    return $enabled;
} );