Opened 12 years ago

Last modified 12 years ago

#1112 assigned defect

Sorting by title fails when searches performed for another translated field

Reported by: jesseeichar Owned by: jesseeichar
Priority: minor Milestone: v2.10.0 RC0
Component: General Version: v2.8.0RC1
Keywords: Cc:

Description

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.

Change History (1)

comment:1 by jesseeichar, 12 years ago

Owner: changed from geonetwork-devel@… to jesseeichar
Priority: majorminor
Status: newassigned
Note: See TracTickets for help on using tickets.