lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Otis Gospodnetic (JIRA)" <j...@apache.org>
Subject [jira] Commented: (SOLR-1171) dynamic field name with spaces causes error
Date Sat, 16 May 2009 21:50:46 GMT

    [ https://issues.apache.org/jira/browse/SOLR-1171?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12710143#action_12710143
] 

Otis Gospodnetic commented on SOLR-1171:
----------------------------------------

Should field names with spaces be supported?  Are they supported in Lucene (ignoring the lack
of support by the QP)?



> dynamic field name with spaces causes error
> -------------------------------------------
>
>                 Key: SOLR-1171
>                 URL: https://issues.apache.org/jira/browse/SOLR-1171
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Ryan McKinley
>             Fix For: 1.4
>
>
> Stumbled into this bug.  I have a dynamic field "meta_set_*"  When I add the field: 
"meta_set_NoData Value" and try to open luke, I get this exception:
> {panel}
> May 15, 2009 3:42:06 PM org.apache.solr.common.SolrException log
> SEVERE: org.apache.solr.common.SolrException: undefined field Value
> 	at org.apache.solr.schema.IndexSchema.getDynamicFieldType(IndexSchema.java:1132)
> 	at org.apache.solr.schema.IndexSchema.getFieldType(IndexSchema.java:1094)
> 	at org.apache.solr.search.SolrQueryParser.getRangeQuery(SolrQueryParser.java:121)
> 	at org.apache.lucene.queryParser.QueryParser.Term(QueryParser.java:1514)
> 	at org.apache.lucene.queryParser.QueryParser.Clause(QueryParser.java:1349)
> 	at org.apache.lucene.queryParser.QueryParser.Query(QueryParser.java:1306)
> 	at org.apache.lucene.queryParser.QueryParser.TopLevelQuery(QueryParser.java:1266)
> 	at org.apache.lucene.queryParser.QueryParser.parse(QueryParser.java:172)
> 	at org.apache.solr.handler.admin.LukeRequestHandler.getIndexedFieldsInfo(LukeRequestHandler.java:310)
> 	at org.apache.solr.handler.admin.LukeRequestHandler.handleRequestBody(LukeRequestHandler.java:147)
> 	at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:131)
> 	at org.apache.solr.core.SolrCore.execute(SolrCore.java:1330)
> {panel}
> note the field is "meta_set_gdal_NoData Value" not "Value"
> I think the query parser is grabbing it...

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