[ 
https://issues.apache.org/jira/browse/SOLR-6937?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Noble Paul updated SOLR-6937:
-----------------------------
    Attachment: SOLR-6937.patch

with tests 
and now replaces all non word chars except hyphen {{-}}

> 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, 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: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to