Solr
  1. Solr
  2. SOLR-2541

Plugininfo tries to load nodes of type "long"

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.1
    • Fix Version/s: 3.4, 4.0-ALPHA
    • Component/s: None
    • Labels:
      None
    • Environment:

      all

      Description

      As of version 3.1 Plugininfo adds all nodes whose types are not "lst","str","int","bool","arr","float" or "double" to the children list.

      The type "long" is missing in the NL_TAGS set.
      I assume this a bug because DOMUtil recognizes this type, so I consider it a valid tag in solrconfig.xml
      Maybe it's time for a dtd? Or one may define SolrConfig.nodetypes somewhere.
      I'll add a patch, that extends the NL_TAGS Set.

      1. PlugininfoTest.java
        6 kB
        Frank Wesemann
      2. Solr-2541.patch
        0.7 kB
        Frank Wesemann

        Issue Links

          Activity

          Robert Muir made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Hoss Man made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Assignee Hoss Man [ hossman ]
          Fix Version/s 3.4 [ 12316683 ]
          Fix Version/s 4.0 [ 12314992 ]
          Resolution Fixed [ 1 ]
          Frank Wesemann made changes -
          Attachment PlugininfoTest.java [ 12481832 ]
          Frank Wesemann made changes -
          Link This issue relates to SOLR-1758 [ SOLR-1758 ]
          Frank Wesemann made changes -
          Attachment Solr-2541.patch [ 12480280 ]
          Frank Wesemann made changes -
          Field Original Value New Value
          Component/s SearchComponents - other [ 12313214 ]
          Frank Wesemann created issue -

            People

            • Assignee:
              Hoss Man
              Reporter:
              Frank Wesemann
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development