I can't sort a string field in a way that should be consistent for me: I mean with a non case sensitive ordering.
A similar issue was reported on Stack Overflow, but it was concerning HSearch 3.6.2 and I currently use the analyzer given as response.
I realised a short test case here : https://github.com/rjoly/testcase-hibernate-search-sort
First and foremost, thanks for the bug report and for the very explicit test case!
We are currently investigating the cause, but it's definitely a bug on our side.
Status: we tracked the problem down to the way we use SortedDocValuesField. This type of field, on contrary to classic fields, do not get automatically analyzed by Lucene when processed in org.apache.lucene.index.DefaultIndexingChain.processField(IndexableField, long, int).
I'll try to find how exactly to use SortedDocValuesField properly. I'll come back to you when I have more information.
For your information, we have a fix. We'll integrate it in the next bugfix releases if the PR is approved.
Well, thank you very much for your quick fix!
I don't find any estimated date for the 5.5.5.Final realase. Do you know when it will be done?
Thank you (and your team) for this release.
It works fine regarding both the test case and the project I'm working on. The fix will be deployed with the delivery we planned for today
Julien G. suggests me to send you a Haribo box (payed by our company) for your fixing's speed