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

tvrh component doesn't work if unique key has stored="false"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 6.6.2
    • 7.5, 8.0
    • None

    Description

      If I create index with unique key defined like

      <field name="uid" type="string" indexed="true" stored="false" required="true" docValues="true"/>
      

      then searches seem to be working, but tvrh doesn't return any vectors for fields that have one stored.

      Upon a cursory look at the code it looks like tvrh component requires unique key to be specifically stored.

      Ideally tvrh should work fine with docValues. And at the very least this gotcha should be documented, probably here: https://lucene.apache.org/solr/guide/6_6/field-properties-by-use-case.html

      Attachments

        Issue Links

          Activity

            People

              erickerickson Erick Erickson
              mar-kolya Nikolay Martynov
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: