You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* feat: add support for RQ
* chore: update documentation
Lint & format
* ci: add 1.32 to test matrix and require it in the RQ test
* chore: lint & format
* ci: extend test matrix
The previous commit only added a new env variable, it is not
included in the test matrix automatically.
v1.31 is now tested for node 22.x and v1.32 against the last 3 supported node versions.
* test: update expected default configuration
Add 'muvera' config for Weaviate 1.31+.
Add 'rq' config for Weaviate 1.32+.
Update expected error string
* test: make the test independent of others
This test fast failing with 'source not well formed' error message,
which is Weaviate's speak for 'I dont think this property is a reference'.
Still not sure why, but I figured it may have to do with how the test-suite is structured;
namely, that each test relies on the state produced/left by the previous test.
To test reference deletion, we instead simply create 2 objects,
reference one from the other and then delete that reference.
No external state.
* chore: lint & format
* refactor: re-use defined union type
* chore: lint & format
* Create an object of type `PQConfigCreate` to be used when defining the quantizer configuration of a vector index.
116
131
*
117
132
* @param {boolean} [options.bitCompression] Whether to use bit compression.
118
-
* @param {number} [options.centroids] The number of centroids[.
119
-
* @param {PQEncoderDistribution} ]options.encoder.distribution The encoder distribution.
133
+
* @param {number} [options.centroids] The number of centroids.
134
+
* @param {PQEncoderDistribution} [options.encoder.distribution] The encoder distribution.
120
135
* @param {PQEncoderType} [options.encoder.type] The encoder type.
121
136
* @param {number} [options.segments] The number of segments.
122
137
* @param {number} [options.trainingLimit] The training limit.
@@ -194,7 +209,7 @@ const reconfigure = {
194
209
* @param {number} [options.ef] The ef parameter. Default is -1.
195
210
* @param {VectorIndexFilterStrategy} [options.filterStrategy] The filter strategy. Default is 'sweeping'.
196
211
* @param {number} [options.flatSearchCutoff] The flat search cutoff. Default is 40000.
197
-
* @param {PQConfigUpdate | BQConfigUpdate} [options.quantizer] The quantizer configuration to use. Use `vectorIndex.quantizer.bq` or `vectorIndex.quantizer.pq` to make one.
212
+
* @param {PQConfigUpdate | BQConfigUpdate | SQConfigUpdate | RQConfigUpdate} [options.quantizer] The quantizer configuration to use. Use `vectorIndex.quantizer.bq` or `vectorIndex.quantizer.pq` to make one.
198
213
* @param {number} [options.vectorCacheMaxObjects] The maximum number of objects to cache in the vector cache. Default is 1000000000000.
199
214
* @returns {ModuleConfig<'hnsw', VectorIndexConfigHNSWUpdate>} The configuration object.
0 commit comments