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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 5.0, 5.1, 6.0
    • Schema and Analysis
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: