Filter nodes before creating an index

Hello,
I am creating a a vector index using:

CALL db.index.vector.createNodeIndex(
    $index_name,
    $node_label,
    $embedding_node_property,
    toInteger($embedding_dimension),
    $similarity_metric
)

Is there a way to filter which nodes will be selected having the $node_label?
For example I would like to consider only nodes that have a node.property=='1'.
How can i do this calling thins function?