[ https://issues.apache.org/jira/browse/SOLR-3434?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13268386#comment-13268386 ]
david babits commented on SOLR-3434: ------------------------------------ Thank you Hoss and Erick for your help. I trimmed all headers, still can't get it to work. dynamicField commented out: trim=true&header=true&skipLines=1: =>undefined field: "--------" trim=true&header=true&skipLines=2: =>undefined field: "20120420" dynamicField uncommented: <dynamicField name="*" type="ignored" multiValued="true" />: =>Document is missing mandatory uniqueKey field: jq_idn The field is in the file. Does skipLines=2 also skip the header ? > 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-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org