Unable to sort string with non case sensitive order

Description

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

Environment

None

Activity

Show:
Yoann Rodière
October 4, 2016, 5:03 PM

Hi Renaud,

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.

Yoann Rodière
October 5, 2016, 3:36 PM

For your information, we have a fix. We'll integrate it in the next bugfix releases if the PR is approved.

Renaud Joly
October 6, 2016, 7:35 AM

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?

Yoann Rodière
October 7, 2016, 7:23 AM

Hi ,

Sanne just released 5.5.5.Final: http://in.relation.to/2016/10/06/TripleHibernateSearchRelease/

Cheers.

Renaud Joly
October 7, 2016, 9:25 AM

Hi @yrodiere,

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
Cheers.

Assignee

Yoann Rodière

Reporter

Renaud Joly

Labels

None

Suitable for new contributors

None

Feedback Requested

None

Fix versions

Affects versions

Priority

Major
Configure