private IEnumerable <IVector> GetTokens() { foreach (var node in PathFinder.All(Tree)) { yield return(node.Vector); } }
public void Put(VectorNode tree) { var column = _index.GetOrAdd(tree.KeyId.Value, key => new VectorNode()); foreach (var node in PathFinder.All(tree)) { _indexingStrategy.ExecutePut <T>(column, new VectorNode(node.Vector, docIds: node.DocIds)); } }