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