[GeoNetwork-devel] [GeoNetwork opensource Developer website] #1112: Sorting by title fails when searches performed for another translated field

#1112: Sorting by title fails when searches performed for another translated field
-------------------------+--------------------------------------------------
Reporter: jesseeichar | Owner: geonetwork-devel@…
     Type: defect | Status: new
Priority: major | Milestone: v2.9.0
Component: General | Version: v2.8.0RC1
Keywords: |
-------------------------+--------------------------------------------------
Consider:

The UI language is German. Search abstract for the word Aarberg. Sort
results by title.

There are 3 hits. 2 are in the german index and thus the title in the
document is german. The third hit is in the english index and thus the
title in the document is english. The results are sorted using 2 german
names and 1 english name. The problem is the 3rd document does in fact
have a German title.

So the question is:

  1. Should the results consist of 3 sorted german titles?
  2. Should the results consist of 2 germain titles and 1 english title?

It can be argued that the second is correct since the match was found in
the english translation of the Abstract. However when the metadata is
viewed the metadata that is displayed will be translated in German giving
lie to the implication that it is an English document.

The current behaviour now differs between XmlSearch and Csw GetRecords.

XmlSearch shows the english title
GetRecords shows the german title but the german title is out-of-order
since the sorting was done using the english title.

--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/1112&gt;
GeoNetwork opensource Developer website <http://sourceforge.net/projects/geonetwork/&gt;
GeoNetwork opensource is a standards based, Free and Open Source catalog application to manage spatially referenced resources through the web. It provides powerful metadata editing and search functions as well as an embedded interactive web map viewer. This website contains information related to the development of the software.