Bug #5206

Alphabetic sort produces unexpected results

Added by Dan Gillean almost 9 years ago. Updated over 8 years ago.

Status:DuplicateStart date:06/08/2013
Priority:MediumDue date:
Assignee:Jesús García Crespo% Done:


Category:Search / BrowseEstimated time:8.00 hours
Target version:Release 2.0.0
Google Code Legacy ID: Tested version:
Sponsored:No Requires documentation:


To Reproduce

1) Archival descriptions
  • Navigate to Browse > Archival descriptions and sort Alphabetically
  • Look at first page of results. Jump to last page of results
Resulting error:
  • first page results: Go from A___, to R___ to "A___ ... then later in page count, back to A___
  • last page results: Include letters with accents, such as É___
2) Institutions
  • Go to Browse > Institutions and sort Alphabetically. Look at results.

Resulting error: First page displays 2 results starting with C__ mixed in with the A__ results

Expected Result
This is difficult, since the error may be a result of some kind of data import issue. However, one would expect at least that the R__ results in the first page of the Browse archival description page, and the C__ results on the first page of Browse institutions, would appear in the right place.

Ideally, the parameters for sorting alphabetically could be tweaked so that:
  • Accents do not push results to the end of the sort order, but appear in order, so that "E__" and "É__" results would appear together, for example
  • When the first character is a symbol (such as: [, (, ", ', etc.) they are excluded from consideration in the sort order.

This has been filed as an issue for consideration in 2.0, since the primary errors may be a result of some kind of data issue and not the application itself, and because the intelligent sort options (accents, special characters) border on the inclusion of a new feature.

Related issues

Related to Access to Memory (AtoM) - Feature #5173: Improve default ElasticSearch alphabetic sort to better r... Verified 06/03/2013


#1 Updated by Jessica Bushey almost 9 years ago

Alphabetic sort tab in Browse Archival Descriptions sends you to broken page

#2 Updated by Jesús García Crespo almost 9 years ago

  • Estimated time set to 8.00

This is going to require some changes in the way that ES is indexing the data.
Explore how much control we can have of it from the application.

#3 Updated by Dan Gillean over 8 years ago

  • Status changed from New to Duplicate

Marking this as a duplicate to issue #5173; moving original test notes from this issue over there.

Also available in: Atom PDF