Uploaded image for project: 'DSpace'
  1. DSpace
  2. DS-4048

Solr: Discover sorting does not respect stop words

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Volunteer Needed (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 6.3
    • Fix Version/s: None
    • Component/s: Solr
    • Labels:
      None
    • Attachments:
      0
    • Comments:
      0
    • Documentation Status:
      Needed

      Description

      Kinda of nuanced but obvious little issue here I was hoping to get some feedback form the community on... 

      Solr / discovery does not respect stop words when sorting:

      E.G: Sorting by `Title` in discovery will sort titles that start with the letter `a` as if the title of that item actually starts with `a`, while a title like `A Banana Farm` is most likely more appropriately sorted under the letter `b`.

       

      I came up with a solution for a client of mine utilizing the `solr.MappingCharFilterFactory` `charFilter` . 

       

      But I'm curious what's the expected DSpace behavior for the case of title sorting. Should DSpace inherently respect stop words when sorting?

       

      Would appreciate some feedback on this issue and I'd be happy to submit a PR if it's up to expectations.

       

       

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            andrewwood Andrew Wood Atmire
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                Zendesk Support