lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Koji Sekiguchi (JIRA)" <j...@apache.org>
Subject [jira] Updated: (SOLR-929) error in admin interface for dynamicField name="*" type="ignored"
Date Sat, 02 May 2009 00:55:30 GMT

     [ https://issues.apache.org/jira/browse/SOLR-929?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Koji Sekiguchi updated SOLR-929:
--------------------------------

    Attachment: SOLR-929.patch

The bug is in LukeRequestHandler. "dynamicBase" should be returned only if the field is dynamic.
The attached patch fixes this. I'll commit in a few days.

> error in admin interface for dynamicField name="*" type="ignored"
> -----------------------------------------------------------------
>
>                 Key: SOLR-929
>                 URL: https://issues.apache.org/jira/browse/SOLR-929
>             Project: Solr
>          Issue Type: Bug
>          Components: web gui
>    Affects Versions: 1.3
>         Environment: java version "1.5.0_16", Mac OS 10.5.5, Jetty example server.  Also
see the same bug on linux with tomcat.
>            Reporter: Peter Wolanin
>            Priority: Minor
>             Fix For: 1.4
>
>         Attachments: schema.xml, SOLR-929.patch, Solr-admin-page.jpg
>
>
> 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:
> {code} 
>   <!-- 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" /-->
> {code} 
> 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:
> {code} 
>   <field name="uid"  type="integer" indexed="true" stored="true"/>
> {code} 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message