SwiftinitVectorSearchVectorSearch.VectorDatabaseConfig

init

VectorSearch.VectorDatabaseConfig.init(baseDirectory: Foundation.URL, distanceMetric: VectorSearch.VectorDatabaseMetric, filterableAttributes: [VectorSearch.VectorDatabaseAttribute], dimension: Int, averagePartitionSize: Int, batchSize: Int, batchFactor: Int, tradeOffParameterBetweenClusteringAndBalance: Float, enableFTS: Bool, dataType: VectorSearch.VectorDatabaseDataType, maxIndexConstructionBatches: Int?, readOnly: Bool, pretokenizationEnabled: Bool, prefixIndices: [Int], attributeIndices: VectorSearch.VectorDatabaseConfig.AttributeIndices, perConnectionPeakMemory: Int64?, clientVersion: String) -> VectorSearch.VectorDatabaseConfig

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

param{}

  1. 0baseDirectory:
  2. 1distanceMetric:
  3. 2filterableAttributes:
  4. 3dimension:
    structSwift.Int
  5. 4averagePartitionSize:
    structSwift.Int
  6. 5batchSize:
    structSwift.Int
  7. 6batchFactor:
    structSwift.Int
  8. 7tradeOffParameterBetweenClusteringAndBalance:
  9. 8enableFTS:
  10. 9dataType:
  11. 10maxIndexConstructionBatches:
  12. 11readOnly:
  13. 12pretokenizationEnabled:
  14. 13prefixIndices:
  15. 14attributeIndices:
  16. 15perConnectionPeakMemory:
  17. 16clientVersion: