Hi Team, I have custom sorting requirement where the following rules apply
1.Alphabetize letter by letter from A to Z. 2.Ignore the capitalization of letters 3.Ignore mathematical symbols and any special characters that do not include a Latin letter 4.Ignore punctuation 5. Do not ignore spaces. Spaces follow the rule of "nothing precedes something" For example the title "Do we go?" comes before the title "Does it count?", because the space after "Do" comes before any letter attached to the end of this string (in this case, the "es" in "Does"). I managed to achieve all except #5 by creating a field with the following collation(I'm using search:search) http://marklogic.com/collation/en/S1/AS/T0000/NO My sort results below works fine except for 'Does it count?' coming on top of 'dø we go?' Æ and Words That Look Fancy ;a next sentence A Test Paper Beautiful Test Paper Does it count? dø we go? Do we go home? New Paper -Ology and -Osophy: Make Your Major 'Soda' Vs 'Pop': Regional Differences The First Paper of the Bunch ÜBer and Cyberhailing Is there a collation where I could define to not ignore spaces while ignoring punctuation and symbols? Thanks, Blessing.
_______________________________________________ General mailing list [email protected] Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general
