You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by "Peter Wolanin (JIRA)" <ji...@apache.org> on 2008/12/18 22:23:44 UTC

[jira] Created: (SOLR-929) error in admin interface for dynamicField name="*" type="ignored"

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
            Reporter: Peter Wolanin
            Priority: Minor


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.


[jira] Commented: (SOLR-929) error in admin interface for dynamicField name="*" type="ignored"

Posted by "Koji Sekiguchi (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-929?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12669973#action_12669973 ] 

Koji Sekiguchi commented on SOLR-929:
-------------------------------------

Thank you for the input. Now I can reproduce the problem with example after I indexed data. I'd like to see it in detail in weekend if I have time.

> 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-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.


[jira] Updated: (SOLR-929) error in admin interface for dynamicField name="*" type="ignored"

Posted by "Koji Sekiguchi (JIRA)" <ji...@apache.org>.
     [ 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.


[jira] Updated: (SOLR-929) error in admin interface for dynamicField name="*" type="ignored"

Posted by "Peter Wolanin (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-929?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Peter Wolanin updated SOLR-929:
-------------------------------

    Attachment: schema.xml

This schema.xml shows the problem.

> 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-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.


[jira] Updated: (SOLR-929) error in admin interface for dynamicField name="*" type="ignored"

Posted by "Yonik Seeley (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-929?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Yonik Seeley updated SOLR-929:
------------------------------

    Fix Version/s: 1.4

> 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
>
>
> 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.


[jira] Assigned: (SOLR-929) error in admin interface for dynamicField name="*" type="ignored"

Posted by "Koji Sekiguchi (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-929?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Koji Sekiguchi reassigned SOLR-929:
-----------------------------------

    Assignee: Koji Sekiguchi

> 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
>            Assignee: Koji Sekiguchi
>            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.


[jira] Updated: (SOLR-929) error in admin interface for dynamicField name="*" type="ignored"

Posted by "Peter Wolanin (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-929?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Peter Wolanin updated SOLR-929:
-------------------------------

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

> 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
>
> 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.


[jira] Updated: (SOLR-929) error in admin interface for dynamicField name="*" type="ignored"

Posted by "Peter Wolanin (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-929?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Peter Wolanin updated SOLR-929:
-------------------------------

    Attachment: Solr-admin-page.jpg

Screen shot showing schema browser bug

> 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: 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.


[jira] Commented: (SOLR-929) error in admin interface for dynamicField name="*" type="ignored"

Posted by "Koji Sekiguchi (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-929?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12669900#action_12669900 ] 

Koji Sekiguchi commented on SOLR-929:
-------------------------------------

Peter,
I've tried but couldn't reproduce the problem, using trunk and Solr 1.3 example...

> 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
>
>
> 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.


[jira] Commented: (SOLR-929) error in admin interface for dynamicField name="*" type="ignored"

Posted by "Peter Wolanin (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-929?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12669963#action_12669963 ] 

Peter Wolanin commented on SOLR-929:
------------------------------------

I am attaching a screen shot (using solr trunk and Jetty) and our schema.xml.  I have seen this bug consistently, and I thought Yonik had reproduced it.

> 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: 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.


[jira] Resolved: (SOLR-929) error in admin interface for dynamicField name="*" type="ignored"

Posted by "Koji Sekiguchi (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-929?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Koji Sekiguchi resolved SOLR-929.
---------------------------------

    Resolution: Fixed

Committed revision 771270.

> 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
>            Assignee: Koji Sekiguchi
>            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.