In the (accepted) sort proposal, there are several 'index modifiers'
defined in a sort context set. Some of these are obviously only useful
in sorting a result set (eg ascending, missingOmit) and would make no
sense in a search.
However others (eg locale, respectCase) do make sense for searching,
particularly, as Mike Rylander brings up, to have the correct
interpretations for > and <.
Rather than having a totally separate list of modifiers, potentially
duplicating many that already exist, for sort, I would like to see the
ones that can be used marked as such in the context sets, and the non
sort specific ones incorporated into the cql context set.
For example, cql.number is used in one of the examples in the proposal,
even though it's a relation modifier in the context set. Equally,
sort.locale could be cql.locale and used to ensure that the desired
locale is used for the search.
Eg:
dc.description >/locale=fr ĂȘtre
would generated a different result set than:
dc.description >/locale=C ĂȘtre
Rob
|