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

error in admin interface for dynamicField name="*" type="ignored"

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.3
    • Fix Version/s: 1.4
    • Component/s: Admin UI
    • Labels:
      None
    • Environment:

      java version "1.5.0_16", Mac OS 10.5.5, Jetty example server. Also see the same bug on linux with tomcat.

      Description

      There appears to be an error in the admin interface (/solr/admin/schema.jsp) when using a '*' field in a schema. In the example
      schema.xml, there is a commented out sample:

       
        <!-- uncomment the following to ignore any fields that don't
      already match an existing
             field name or dynamic field, rather than reporting them as an error.
             alternately, change the type="ignored" to some other type e.g.
      "text" if you want
             unknown fields indexed and/or stored by default -->
        <!--dynamicField name="*" type="ignored" /-->
      

      We have this un-commented, and in the schema browser via the admin interface I see that all non-dynamic fields get a type of "ignored".

      for example, I see this in the Solr admin interface:

      Field: uid
      Dynamically Created From Pattern: *
      Field Type: ignored

      though the field definition is:

       
        <field name="uid"  type="integer" indexed="true" stored="true"/>
      

        Attachments

        1. Solr-admin-page.jpg
          93 kB
          Peter Wolanin
        2. SOLR-929.patch
          2 kB
          Koji Sekiguchi
        3. schema.xml
          19 kB
          Peter Wolanin

          Activity

            People

            • Assignee:
              koji Koji Sekiguchi
              Reporter:
              pwolanin Peter Wolanin
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: