[
https://issues.apache.org/jira/browse/SOLR-16952?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17791235#comment-17791235
]
Christine Poerschke commented on SOLR-16952:
--------------------------------------------
I'm able to reproduce this -- arriving here via experimentation with streaming
expressions and dense vector fields -- pull request with demo and proposed
change to follow.
> solr.DenseVectorField does not work on a collection with more than 1 shards
> ---------------------------------------------------------------------------
>
> Key: SOLR-16952
> URL: https://issues.apache.org/jira/browse/SOLR-16952
> Project: Solr
> Issue Type: Bug
> Components: multicore
> Affects Versions: 9.0, 9.1, 9.2, 9.1.1, 9.3, 9.2.1
> Environment: environment check on:
> Ubuntu 20.04
> java 11 and java 17
> Reporter: Qais Qadri
> Priority: Critical
> Attachments: Screenshot from 2023-08-22 15-32-48.png
>
>
> the field type solr.DenseVectorField introduced in solr 9.0 works well with
> single core user managed and single shard collection in solr cloud way, but
> in any multi shard collection it stores data as list of strings instead of
> list of floats and running query on top of it also fails to provide correct
> results.
>
> attaching screenshot, the field name is vector, which is defined as
> <fieldType name="knn_vector" class="solr.DenseVectorField"
> vectorDimension="512" similarityFunction="cosine"/>
> {color:#000080}
> {color}
> <field name="vector" type="knn_vector" indexed="true" stored="true"/>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]