lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "david babits (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-3434) CSVRequestHandler does not trim header when using header=true&trim=true
Date Fri, 04 May 2012 14:12:47 GMT

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

david babits commented on SOLR-3434:
------------------------------------

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

Tried what the doc suggests:
<dynamicField name="*" type="text" multiValued="true" />

Got: 
SEVERE: org.apache.solr.common.SolrException: Unknown fieldtype 'text' specified on field
*
        at org.apache.solr.schema.IndexSchema.readSchema(IndexSchema.java:511)

                
> CSVRequestHandler does not trim header when using header=true&trim=true
> -----------------------------------------------------------------------
>
>                 Key: SOLR-3434
>                 URL: https://issues.apache.org/jira/browse/SOLR-3434
>             Project: Solr
>          Issue Type: Improvement
>    Affects Versions: 3.6
>         Environment: Linux
>            Reporter: david babits
>              Labels: CSV,, header, separator
>
> when using {{header=true&trim=true}} the field names in the header row are not trimmed.
> this is consistent with the documentation, but that doesn't mean it makes sense.
> would be good to change this so trim=true also applied to the header row (at least by
default)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message