alessandrobenedetti commented on code in PR #5328: URL: https://github.com/apache/solr/pull/5328#discussion_r4722582011
########## solr/solr-ref-guide/modules/query-guide/pages/dense-vector-search.adoc: ########## @@ -143,6 +143,25 @@ Please note that the `knnAlgorithm` accepted values may change in future release + Accepted values: `FLOAT32`, `BYTE`. +`useRawVectorsAsStored`:: ++ +[%autowidth,frame=none] +|=== +|Optional |Default: `false` +|=== ++ +When `true`, Solr returns vectors from Lucene's raw vector values, including when `stored="false"`. +This option supports both `FLOAT32` and `BYTE` encodings, single-valued and multivalued dense vector fields. +It can be set on the field type or an individual field. ++ +When both `useRawVectorsAsStored="true"` and `stored="true"` are set, raw vector values take precedence for retrieval, but Solr still writes the stored-field copy. +Set `stored="false"` to avoid that duplicate storage. ++ +With `indexed="false"` and `useRawVectorsAsStored="true"`, Solr still writes the raw vector values needed for retrieval, using a flat vector format without building an HNSW graph. +The `useRawVectorsAsStored` is only supported by `DenseVectorField` and its subclasses. Review Comment: remove it -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
