Function test_index_remove

Source
pub fn test_index_remove<T>(graph: &mut T)
where T: Graph<Vertex = Vertex, Edge = Edge> + SupportsVertexFullTextIndex,
Expand description

Tests that a vertex can be removed from the graph, and that the indexed field search no longer returns the removed vertex.

This function creates a vertex, adds it to the graph, and then removes it. It then verifies that a search for the indexed field of the removed vertex returns an empty result.