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

Sorting fields whose content may contain hyphens

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Invalid
    • 3.6.2
    • None
    • None
    • Acquia network, so ubuntu most likely.

    Description

      Pardon this submission if I have not followed any established protocols, I'm new to the this system and also not well versed in solr in general and did not see any guidelines to issue submission. But, I believe this to be a legitimate issue not previously identified, at least in some use cases.

      Fields, whose content may contain hyphens, are sorted by the string occurring after the last hyphen. In my case, this is happening on a field storing last names. For example: "Abel-Johnson" will be sorted as if it held the value "Johnson" excluding the content before the hyphen.

      I've searched through the existing issues, and there seem to be plenty of references to issues surrounding query strings which may contain hyphens in either field names, or arguments, but nothing referring to the content itself.

      Attachments

        Activity

          People

            Unassigned Unassigned
            johnbburg John Brandenburg
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: