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

org.apache.solr.common.util.NamedList - Typesafe efficient variant - ModernNamedList introduced - implementing the same API as NamedList

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Reopened
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • search
    • None
    • Tomcat 6, JRE 6, Solr 1.3+ nightlies

    Description

      The implementation of NamedList - while being fast - is not necessarily type-safe. I have implemented an additional implementation of the same - ModernNamedList (a type-safe variation providing the same interface as NamedList) - while preserving the semantics in terms of ordering of elements and allowing null elements for key and values (keys are always Strings , while values correspond to generics ).

      Attachments

        1. SOLR-912.patch
          14 kB
          Karthik K
        2. SOLR-912.patch
          18 kB
          Karthik K
        3. NLProfile.java
          7 kB
          Karthik K

        Issue Links

          Activity

            People

              Unassigned Unassigned
              kaykay.unique Karthik K
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - 72h
                  72h
                  Remaining:
                  Remaining Estimate - 72h
                  72h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified