You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Bernd Fehling (JIRA)" <ji...@apache.org> on 2011/08/15 10:09:27 UTC
[jira] [Created] (SOLR-2713) sorting issue with solr 3.3
sorting issue with solr 3.3
---------------------------
Key: SOLR-2713
URL: https://issues.apache.org/jira/browse/SOLR-2713
Project: Solr
Issue Type: Bug
Affects Versions: 3.3
Reporter: Bernd Fehling
There is a sorting issue with solr 3.3.
Other versions currently not tested.
If solr.PatternReplaceFilterFactory of fieldType "alphaOnlySort" is changed from pattern="([^a-z])"
to pattern="([\x01-\x2F\x3A-\x40\x5B-\x60\x7B-\x7F])" then sorting returns wrong order of results.
According to documentation the sorting should be UTF-8 compatible.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] [Commented] (SOLR-2713) sorting issue with solr 3.3
Posted by "Bernd Fehling (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-2713?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13084991#comment-13084991 ]
Bernd Fehling commented on SOLR-2713:
-------------------------------------
I have attached a test.
Use the solr example:
- change fieldType "alphaOnlySort" to pattern="([\x01-\x2F\x3A-\x40\x5B-\x60\x7B-\x7F]])" in schema.xml
- start solr example with "java -jar start.jar"
- place attached file in exampledocs directory
- load docs with "./post.sh sort_example.xml"
Search for:
http://localhost:8983/solr/select?q=*%3A*&fsv=true&sort=alphaNameSort+desc&version=2.2&start=0&rows=10&indent=on
The result is not ordered in descending order.
> sorting issue with solr 3.3
> ---------------------------
>
> Key: SOLR-2713
> URL: https://issues.apache.org/jira/browse/SOLR-2713
> Project: Solr
> Issue Type: Bug
> Affects Versions: 3.3
> Reporter: Bernd Fehling
> Attachments: sort_example.xml
>
>
> There is a sorting issue with solr 3.3.
> Other versions currently not tested.
> If solr.PatternReplaceFilterFactory of fieldType "alphaOnlySort" is changed from pattern="([^a-z])"
> to pattern="([\x01-\x2F\x3A-\x40\x5B-\x60\x7B-\x7F])" then sorting returns wrong order of results.
> According to documentation the sorting should be UTF-8 compatible.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] [Closed] (SOLR-2713) sorting issue with solr 3.3
Posted by "Bernd Fehling (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-2713?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bernd Fehling closed SOLR-2713.
-------------------------------
Resolution: Not A Problem
> sorting issue with solr 3.3
> ---------------------------
>
> Key: SOLR-2713
> URL: https://issues.apache.org/jira/browse/SOLR-2713
> Project: Solr
> Issue Type: Bug
> Affects Versions: 3.3
> Reporter: Bernd Fehling
> Attachments: sort_example.xml
>
>
> There is a sorting issue with solr 3.3.
> Other versions currently not tested.
> If solr.PatternReplaceFilterFactory of fieldType "alphaOnlySort" is changed from pattern="([^a-z])"
> to pattern="([\x01-\x2F\x3A-\x40\x5B-\x60\x7B-\x7F])" then sorting returns wrong order of results.
> According to documentation the sorting should be UTF-8 compatible.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] [Updated] (SOLR-2713) sorting issue with solr 3.3
Posted by "Bernd Fehling (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-2713?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bernd Fehling updated SOLR-2713:
--------------------------------
Attachment: sort_example.xml
> sorting issue with solr 3.3
> ---------------------------
>
> Key: SOLR-2713
> URL: https://issues.apache.org/jira/browse/SOLR-2713
> Project: Solr
> Issue Type: Bug
> Affects Versions: 3.3
> Reporter: Bernd Fehling
> Attachments: sort_example.xml
>
>
> There is a sorting issue with solr 3.3.
> Other versions currently not tested.
> If solr.PatternReplaceFilterFactory of fieldType "alphaOnlySort" is changed from pattern="([^a-z])"
> to pattern="([\x01-\x2F\x3A-\x40\x5B-\x60\x7B-\x7F])" then sorting returns wrong order of results.
> According to documentation the sorting should be UTF-8 compatible.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] [Commented] (SOLR-2713) sorting issue with solr 3.3
Posted by "Bernd Fehling (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-2713?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13085062#comment-13085062 ]
Bernd Fehling commented on SOLR-2713:
-------------------------------------
OK, after using debugger it turned out that there was a BOM at one line.
Naturally for sorting in descending order according to UTF-8 this line comes first.
So, nothing to fix, working as expected.
> sorting issue with solr 3.3
> ---------------------------
>
> Key: SOLR-2713
> URL: https://issues.apache.org/jira/browse/SOLR-2713
> Project: Solr
> Issue Type: Bug
> Affects Versions: 3.3
> Reporter: Bernd Fehling
> Attachments: sort_example.xml
>
>
> There is a sorting issue with solr 3.3.
> Other versions currently not tested.
> If solr.PatternReplaceFilterFactory of fieldType "alphaOnlySort" is changed from pattern="([^a-z])"
> to pattern="([\x01-\x2F\x3A-\x40\x5B-\x60\x7B-\x7F])" then sorting returns wrong order of results.
> According to documentation the sorting should be UTF-8 compatible.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] [Commented] (SOLR-2713) sorting issue with solr 3.3
Posted by "Yonik Seeley (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-2713?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13085088#comment-13085088 ]
Yonik Seeley commented on SOLR-2713:
------------------------------------
Whew, thanks for getting to the bottom of this!
> sorting issue with solr 3.3
> ---------------------------
>
> Key: SOLR-2713
> URL: https://issues.apache.org/jira/browse/SOLR-2713
> Project: Solr
> Issue Type: Bug
> Affects Versions: 3.3
> Reporter: Bernd Fehling
> Attachments: sort_example.xml
>
>
> There is a sorting issue with solr 3.3.
> Other versions currently not tested.
> If solr.PatternReplaceFilterFactory of fieldType "alphaOnlySort" is changed from pattern="([^a-z])"
> to pattern="([\x01-\x2F\x3A-\x40\x5B-\x60\x7B-\x7F])" then sorting returns wrong order of results.
> According to documentation the sorting should be UTF-8 compatible.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] [Commented] (SOLR-2713) sorting issue with solr 3.3
Posted by "Bernd Fehling (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-2713?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13084998#comment-13084998 ]
Bernd Fehling commented on SOLR-2713:
-------------------------------------
If solr.PatternReplaceFilterFactory uses the default pattern="([^a-z])", which is more restrictive,
then sorting works. But I can't find any special values in the loaded example docs which are _not_
filtered with my pattern.
> sorting issue with solr 3.3
> ---------------------------
>
> Key: SOLR-2713
> URL: https://issues.apache.org/jira/browse/SOLR-2713
> Project: Solr
> Issue Type: Bug
> Affects Versions: 3.3
> Reporter: Bernd Fehling
> Attachments: sort_example.xml
>
>
> There is a sorting issue with solr 3.3.
> Other versions currently not tested.
> If solr.PatternReplaceFilterFactory of fieldType "alphaOnlySort" is changed from pattern="([^a-z])"
> to pattern="([\x01-\x2F\x3A-\x40\x5B-\x60\x7B-\x7F])" then sorting returns wrong order of results.
> According to documentation the sorting should be UTF-8 compatible.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org