-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: Lucene sort by strokes - Chinese
PostPosted: Fri Mar 23, 2012 7:01 am 
Regular
Regular

Joined: Tue May 17, 2011 1:45 am
Posts: 52
Hi,

I am grounded again with another sorting problem. I am using Hibernate Search 3.6 that uses Lucene 3.1. That said I am sorting like this

Code:
       
Locale localeSort=new Locale(lang,country);
sort = new Sort(new SortField(localeField,localeSort,order));


This is sorting the chinese characters in Pinyin perhaps, but what I want is Lucene should be able to do sort based on strokes.

Any leads on this please?

Thanks
David


Top
 Profile  
 
 Post subject: Re: Lucene sort by strokes - Chinese
PostPosted: Wed Mar 28, 2012 5:04 am 
Hibernate Team
Hibernate Team

Joined: Thu Apr 05, 2007 5:52 am
Posts: 1689
Location: Sweden
Hi David,

I am not an expert when it comes to these language specific issues either, but have you seen http://stackoverflow.com/questions/4468 ... s-radicals

The problem itself is also independent from Hibernate Search. You might be more lucky to ask this question on the Lucene mailing list. If you find a solution please report back here. These type of questions are always interesting.

--Hardy


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.