1 write to _recordType
Microsoft.Extensions.VectorData.Abstractions (1)
ProviderServices\CollectionModel.cs (1)
68
_recordType
= recordType;
6 references to _recordType
Microsoft.Extensions.VectorData.Abstractions (6)
ProviderServices\CollectionModel.cs (6)
105
Debug.Assert(typeof(TRecord) ==
_recordType
, "Type mismatch between record type and model type.");
134
{ Count: 0 } => throw new InvalidOperationException($"The '{
_recordType
.Name}' type does not have any vector properties."),
135
_ => throw new InvalidOperationException($"The '{
_recordType
.Name}' type has multiple vector properties, please specify your chosen property via options."),
159
: throw new InvalidOperationException($"The property '{property.ModelName}' on '{
_recordType
.Name}' must have full text search indexing enabled.");
173
{ Count: 0 } => throw new InvalidOperationException($"The '{
_recordType
.Name}' type does not have any text data properties that have full text indexing enabled."),
174
_ => throw new InvalidOperationException($"The '{
_recordType
.Name}' type has multiple text data properties that have full text indexing enabled, please specify your chosen property via options."),