Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-5304

SingletonSortedSetDocValues should allow for getting back the wrapped instance

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 4.6
    • None
    • None
    • New

    Description

      This idea was mentioned by Robert on LUCENE-5300

      Some codecs or FieldCache impls use SingletonSortedSetDocValues when a field which is supposed to be multi-valued is actually single-valued. By having a getter on this class to get back the wrapped SortedDocValues instance, we could add more specialization (which often already exists, eg. Solr's DocValuesFacets already have a specialized impl for SortedDocValues).

      Attachments

        1. LUCENE-5304.patch
          4 kB
          Adrien Grand

        Activity

          People

            jpountz Adrien Grand
            jpountz Adrien Grand
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: