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

CurrencyFieldType doesn't support docValues

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Schema and Analysis
    • None

    Description

      CurrencyFieldType is an aggregate field type containing two sub-fields.  Ideally, the docValues setting would be honored but it isn't.  The bug is that CFT.createFields calls createField (singular) on the sub-fields but the singular form of createField never returns docValues.  The singular form is a rather trappy API.

      Tragically, CurrencyFieldType was created to replace the deprecated CurrencyField to allow docValues to be supported.  Through the auto-magic of uninverting, it's easy to not tell.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              dsmiley David Smiley
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: