alessandrobenedetti commented on code in PR #5328: URL: https://github.com/apache/solr/pull/5328#discussion_r4722624465
########## solr/solr-ref-guide/modules/query-guide/pages/dense-vector-search.adoc: ########## @@ -176,7 +195,24 @@ For more details, refer to the official https://arxiv.org/pdf/1603.09320[2018 pa Accepted values: Any integer. -`DenseVectorField` supports the attributes: `indexed`, `stored`, `multivalued`. +`DenseVectorField` supports the attributes: `indexed`, `stored`, `multiValued`, `useRawVectorsAsStored`. + +For example, to index a vector and return it without a separate stored-field copy: + +[source,xml] +---- +<fieldType name="raw_vector" class="solr.DenseVectorField" vectorDimension="4" + similarityFunction="cosine" useRawVectorsAsStored="true"/> +<field name="vector" type="raw_vector" indexed="true" stored="false"/> +---- + +The vector can be returned by `/select` and xref:configuration-guide:realtime-get.adoc[RealTime Get]. Review Comment: by /select -> by any search handler -- 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]
