[
https://issues.apache.org/jira/browse/SOLR-9568?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Erick Erickson resolved SOLR-9568.
----------------------------------
Resolution: Invalid
Leave this closed please until it's shown to be a code problem, not a user
issue. The JIRA system is not a support portal.
> case-insensitive sorting not working as intended.
> -------------------------------------------------
>
> Key: SOLR-9568
> URL: https://issues.apache.org/jira/browse/SOLR-9568
> Project: Solr
> Issue Type: Bug
> Security Level: Public(Default Security Level. Issues are Public)
> Affects Versions: 4.10.3
> Reporter: satish chennupati
> Priority: Major
> Labels: dynamic, sorting
>
> Hi,
> Right now when I perform a sort I am getting result as following:
> "[\"18 hotfix3\"]"
> "[\"Godzilla\"]"
> "[\"Godzilla, King of the Monsters!\"]"
> "[\"Harry Potter and the Sorcerers Stone\"]"
> "[\"How to Train Your Dragon\"]"
> "[\"Jurassic Park\"]"
> "[\"My Big Fat Greek Wedding\"]"
> "[\"National Treasure\"]"
> "[\"Palmer\"]"
> "[\"Patch Adams\"]"
> "[\"Rajan\"]"
> "[\"Sanity\"]"
> "[\"Stardust\"]"
> "[\"Superman\"]"
> "[\"The Amazing Spider-Man 2\"]"
> "[\"The Godfather\"]"
> "[\"The Lord of the Rings: The Fellowship of the Ring\"]"
> "[\"The Matrix\"]"
> "[\"V for Vendetta\"]"
> "[\"abcdefgh\"]"
> "[\"autoui1466571231695\"]"
> "[\"autoui1466605339320\"]"
> "[\"name\"]"
> "[\"test\"]"
> "[\"test2\"]"
> The field type has been defined as follows :
> <fieldType class="org.apache.solr.schema.TextField" name="TextField"
> sortMissingLast="true">
> <analyzer>
> <tokenizer class="solr.KeywordTokenizerFactory"/>
> <!-- lower case everything -->
> <filter class="solr.LowerCaseFilterFactory"/>
> <!-- remove lead/trail whitespace -->
> <filter class="solr.TrimFilterFactory"/>
> <!-- pad and trim numbers to an even 6 digits with leading
> 0's -->
> <filter class="solr.PatternReplaceFilterFactory"
> pattern="(\d+)" replacement="00000$1" replace="all"/>
> <filter class="solr.PatternReplaceFilterFactory"
> pattern="0*([0-9]{6,})" replacement="$1"
> replace="all" />
>
> </analyzer>
> </fieldType>
> And for sorting purpose we have a dynamic field in place that used the above
> field type
> <!-- fields for sorting -->
> <dynamicField indexed="true" multiValued="false" name="sort_str*"
> stored="false" type="SortTextField"/>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]