def test_delete_nodes_with_filters(self, node_embeddings: List[TextNode]) -> None:
        """Test deleting nodes from faiss map vector store with filters."""
        vector_store = FaissMapVectorStore(faiss_index=get_map_index())

        # Add nodes to the faiss map vector
        vector_store.add(node_embeddings)

        query = VectorStoreQuery(
            query_embedding=text_to_embedding("baz"),
            similarity_top_k=1,
        )
        result = vector_store.query(query)
        assert result.similarities[0] == 0.0
        assert result.ids[0] == "469e9537-7bc5-4669-9ff6-baa0ed086236"

        try:
            vector_store.delete_nodes(
                filters=MetadataFilters(
                    filters=[
                        MetadataFilter(key="genre", value="Thriller", operator="=="),
                        MetadataFilter(key="pages", value=10, operator=">"),
                    ]
                ),
            )
            raise AssertionError
        except NotImplementedError:
            # Metadata filters not implemented for Faiss yet.
            pass
Test deleting nodes from faiss map vector store with filters.
llama-index-integrations/vector_stores/llama-index-vector-stores-faiss/tests/test_vector_stores_faiss.py