Qais Qadri created SOLR-16952:
---------------------------------

             Summary: 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.2.1, 9.3, 9.1.1, 9.2, 9.1, 9.0
         Environment: environment check on:
Ubuntu 20.04
java 11 and java 17
            Reporter: Qais Qadri
         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: issues-unsubscr...@solr.apache.org
For additional commands, e-mail: issues-h...@solr.apache.org

Reply via email to