Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-6660 Improve the usability for the new Suggester
  3. SOLR-6657

DocumentDictionaryFactory requires weightField to be mandatory, but it shouldn't

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.8, 4.8.1, 4.9, 4.9.1, 4.10, 4.10.1
    • 5.1, 6.0
    • None

    Description

      DocumentDictionaryFactory requires weightField to be mandatory, but it doesn't need to as DocumentDictionary allows it to be null

      So one has to define the weight field in the solrconfig.xml even if their data doesn't contain any weights. We shouldn't make the weightField mandatory in DocumentDictionaryFactory

      Attachments

        Activity

          People

            erickerickson Erick Erickson
            varun Varun Thacker
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: