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

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

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.3
    • 1.4
    • Admin UI
    • None
    • 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. schema.xml
          19 kB
          Peter Wolanin
        3. SOLR-929.patch
          2 kB
          Koji Sekiguchi

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment