[ https://issues.apache.org/jira/browse/SOLR-3434?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13268672#comment-13268672 ]
david babits commented on SOLR-3434: ------------------------------------ I don't think skipLinesAfterHeader is needed. skipLines should do, I believe implicitly skipLines=1 when header=true, which is what the docs seem to say. What's needed is an example, in addition to the docs. My use case is generic - this is how the data looks when extracted from database(using isql in my case), so it shouldn't take a newbie 2 days of trial-and-error to figure out how to load it into solr, an example along with necessary schema.xml change would go a long way. {quote} skipLines Specifies the number of lines in the input stream to discard before the CSV data starts (including the header, if present). Default is skipLines=0. {quote} > 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