Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-16952

solr.DenseVectorField does not work on a collection with more than 1 shards

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 9.0, 9.1, 9.2, 9.1.1, 9.3, 9.2.1, 9.4
    • 9.5
    • multicore
    • None
    • environment check on:
      Ubuntu 20.04
      java 11 and java 17

    Description

      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"/>

      <field name="vector" type="knn_vector" indexed="true" stored="true"/>

      Attachments

        Activity

          People

            cpoerschke Christine Poerschke
            qais_qadri Qais Qadri
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 1h 50m
                1h 50m