Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-6937

In schemaless mode ,replace spaces and special characters in field names with underscore

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.0, 5.1, 6.0
    • Component/s: Schema and Analysis
    • Labels:
      None

      Description

      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:

      "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"

      My vote would be to replace spaces w/ underscores.

        Attachments

        1. SOLR-6937.patch
          9 kB
          Noble Paul
        2. SOLR-6937.patch
          5 kB
          Noble Paul

          Activity

            People

            • Assignee:
              noble.paul Noble Paul
              Reporter:
              gsingers Grant Ingersoll
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: