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

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

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 6.6.2
    • Fix Version/s: 7.5, 8.0
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: