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

Have DocumentBuilder give value collections to the FieldType

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • 4.9, 6.0
    • update
    • None

    Description

      I'd like to write a multi-value-configured FieldType that can return a DocValue Field from its createFields(). Since DocValues holds a single value per document for a field, you can only have one. However FieldType.createFields() is invoked by the DocumentBuilder once per each value being indexed.

      FYI the reason I'm asking for this is for a multi-valued spatial field to store its points in DocValues.

      Attachments

        1. DocumentBuilder.java
          9 kB
          David Smiley
        2. SOLR-4329.patch
          37 kB
          Ishan Chattopadhyaya

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated: