[
https://issues.apache.org/jira/browse/SOLR-6937?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14275348#comment-14275348
]
Erik Hatcher commented on SOLR-6937:
------------------------------------
[~noble.paul]] - looks good! The pattern should be expanded to include all
the funky/problematic/illegal characters before committing, but in general +1.
> In schemaless mode, field names with spaces should be converted
> ---------------------------------------------------------------
>
> Key: SOLR-6937
> URL: https://issues.apache.org/jira/browse/SOLR-6937
> Project: Solr
> Issue Type: Bug
> Components: Schema and Analysis
> Reporter: Grant Ingersoll
> Assignee: Noble Paul
> Fix For: 5.0
>
> Attachments: SOLR-6937.patch
>
>
> Assuming spaces in field names are still bad, we should automatically convert
> them to not have spaces. For instance, I indexed Citibike public data set
> which has:
> {quote}
> "tripduration","starttime","stoptime","start station id","start station
> name","start station latitude","start station longitude","end station
> id","end station name","end station latitude","end station
> longitude","bikeid","usertype","birth year","gender"{quote}
> My vote would be to replace spaces w/ underscores.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]