示例#1
0
 private IEnumerable <IVector> GetTokens()
 {
     foreach (var node in PathFinder.All(Tree))
     {
         yield return(node.Vector);
     }
 }
示例#2
0
        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));
            }
        }