6 writes to Counter
Microsoft.Extensions.VectorData.ConformanceTests (6)
EmbeddingGenerationTests.cs (6)
192Counter = counter, 242Counter = counter1, 249Counter = counter2, 467Counter = GenerateNextCounter(), 474Counter = GenerateNextCounter(), 481Counter = GenerateNextCounter(),
16 references to Counter
Microsoft.Extensions.VectorData.ConformanceTests (16)
EmbeddingGenerationTests.cs (16)
201await stringVectorFixture.TestStore.WaitForDataAsync(collection, 1, filter: r => r.Counter == counter); 204Assert.Equal(counter, result.Record.Counter); 216[nameof(Record.Counter)] = counter, 225await stringVectorFixture.TestStore.WaitForDataAsync(collection, 1, filter: r => (int)r[nameof(Record.Counter)] == counter); 228Assert.Equal(counter, result.Record[nameof(Record.Counter)]); 258await stringVectorFixture.TestStore.WaitForDataAsync(collection, 2, filter: r => r.Counter == counter1 || r.Counter == counter2); 261Assert.Equal(counter1, result.Record.Counter); 264Assert.Equal(counter2, result.Record.Counter); 278[nameof(Record.Counter)] = counter1, 285[nameof(Record.Counter)] = counter2, 294await stringVectorFixture.TestStore.WaitForDataAsync(collection, 2, filter: r => (int)r[nameof(Record.Counter)] == counter1 || (int)r[nameof(Record.Counter)] == counter2); 297Assert.Equal(counter1, result.Record[nameof(Record.Counter)]); 300Assert.Equal(counter2, result.Record[nameof(Record.Counter)]); 455new VectorStoreDataProperty(nameof(Record.Counter), typeof(int)) { IsIndexed = true },