31 writes to IsIndexed
Microsoft.Extensions.DataIngestion (1)
Writers\VectorStoreWriter.cs (1)
138
IsIndexed
= true
Microsoft.Extensions.VectorData.ConformanceTests (30)
EmbeddingGenerationTests.cs (2)
455
new VectorStoreDataProperty(nameof(Record.Counter), typeof(int)) {
IsIndexed
= true },
526
new VectorStoreDataProperty(nameof(RecordWithRomOfFloatVectorProperty.Counter), typeof(int)) {
IsIndexed
= true },
FilterTests.cs (6)
596
new VectorStoreDataProperty(nameof(FilterRecord.Int), typeof(int)) {
IsIndexed
= true },
597
new VectorStoreDataProperty(nameof(FilterRecord.String), typeof(string)) {
IsIndexed
= true },
598
new VectorStoreDataProperty(nameof(FilterRecord.Bool), typeof(bool)) {
IsIndexed
= true },
599
new VectorStoreDataProperty(nameof(FilterRecord.Int2), typeof(int)) {
IsIndexed
= true },
600
new VectorStoreDataProperty(nameof(FilterRecord.StringArray), typeof(string[])) {
IsIndexed
= true },
601
new VectorStoreDataProperty(nameof(FilterRecord.StringList), typeof(List<string>)) {
IsIndexed
= true }
HybridSearchTests.cs (2)
169
new VectorStoreDataProperty("Code", typeof(int)) {
IsIndexed
= true },
224
new VectorStoreDataProperty("Code", typeof(int)) {
IsIndexed
= true },
ModelTests\BasicModelTests.cs (2)
506
new VectorStoreDataProperty(nameof(Record.Number), typeof(int)) {
IsIndexed
= true },
507
new VectorStoreDataProperty(nameof(Record.Text), typeof(string)) {
IsIndexed
= true },
ModelTests\DynamicModelTests.cs (2)
403
new VectorStoreDataProperty(StringPropertyName, typeof(string)) {
IsIndexed
= true},
404
new VectorStoreDataProperty(IntegerPropertyName, typeof(int)) {
IsIndexed
= true },
ModelTests\NoVectorModelTests.cs (1)
80
new VectorStoreDataProperty(nameof(NoVectorRecord.Text), typeof(string)) {
IsIndexed
= true }
TypeTests\DataTypeTests.cs (14)
488
properties.Add(new VectorStoreDataProperty(nameof(DefaultRecord.Byte), typeof(byte)) {
IsIndexed
= true });
493
properties.Add(new VectorStoreDataProperty(nameof(DefaultRecord.Short), typeof(short)) {
IsIndexed
= true });
498
properties.Add(new VectorStoreDataProperty(nameof(DefaultRecord.Int), typeof(int)) {
IsIndexed
= true });
503
properties.Add(new VectorStoreDataProperty(nameof(DefaultRecord.Long), typeof(long)) {
IsIndexed
= true });
508
properties.Add(new VectorStoreDataProperty(nameof(DefaultRecord.Float), typeof(float)) {
IsIndexed
= true });
513
properties.Add(new VectorStoreDataProperty(nameof(DefaultRecord.Double), typeof(double)) {
IsIndexed
= true });
518
properties.Add(new VectorStoreDataProperty(nameof(DefaultRecord.Decimal), typeof(decimal)) {
IsIndexed
= true });
523
properties.Add(new VectorStoreDataProperty(nameof(DefaultRecord.String), typeof(string)) {
IsIndexed
= true });
528
properties.Add(new VectorStoreDataProperty(nameof(DefaultRecord.Bool), typeof(bool)) {
IsIndexed
= true });
533
properties.Add(new VectorStoreDataProperty(nameof(DefaultRecord.Guid), typeof(Guid)) {
IsIndexed
= true });
538
properties.Add(new VectorStoreDataProperty(nameof(DefaultRecord.DateTime), typeof(DateTime)) {
IsIndexed
= true });
543
properties.Add(new VectorStoreDataProperty(nameof(DefaultRecord.DateTimeOffset), typeof(DateTimeOffset)) {
IsIndexed
= true });
559
properties.Add(new VectorStoreDataProperty(nameof(DefaultRecord.StringArray), typeof(string[])) {
IsIndexed
= true });
564
properties.Add(new VectorStoreDataProperty(nameof(DefaultRecord.NullableInt), typeof(int?)) {
IsIndexed
= true });
TypeTests\EmbeddingTypeTests.cs (1)
239
new VectorStoreDataProperty("Int", typeof(int)) {
IsIndexed
= true }
1 reference to IsIndexed
Microsoft.Extensions.VectorData.Abstractions (1)
ProviderServices\CollectionModelBuilder.cs (1)
271
dataProperty.IsIndexed = defData.
IsIndexed
;