Re: CJKAnalyzer and Chinese Text sort

2009-03-17 Thread Sachin
Created SOLR-1073 in JIRA with the class file: https://issues.apache.org/jira/browse/SOLR-1073 -- Original Message -- From: Chris Hostetter To: solr-user@lucene.apache.org Subject: Re: CJKAnalyzer and Chinese Text sort Date: Mon, 16 Mar 2009 21:34:09 -0700 (PDT) : Thanks Hoss

Re: CJKAnalyzer and Chinese Text sort

2009-03-16 Thread Chris Hostetter
: Thanks Hoss for your comments! I don't mind submitting it as a patch, : shall I create a issue in Jira and submit the patch with that? Also, I yep, just attach the patch file. : didn't modify the core solr for locale based sorting; I just added the : created a jar file with the class file &

Re: CJKAnalyzer and Chinese Text sort

2009-03-12 Thread Sachin
Hostetter To: solr-user@lucene.apache.org Subject: Re: CJKAnalyzer and Chinese Text sort Date: Wed, 11 Mar 2009 15:50:40 -0700 (PDT) First off: you can't sort on a field where any doc has more then one token -- that's why worting on a TextField doesn't work unless you use so

Re: CJKAnalyzer and Chinese Text sort

2009-03-11 Thread Chris Hostetter
First off: you can't sort on a field where any doc has more then one token -- that's why worting on a TextField doesn't work unless you use something like the KeywordTokenizer. Second... : I found out that reason the strings are not getting sorted is because : there is no way to pass the loca

Re: CJKAnalyzer and Chinese Text sort

2009-03-10 Thread Sachin
Hi All, I found out that reason the strings are not getting sorted is because there is no way to pass the locale information to StrField, I ended up extending StrField to take an additional attribute in schema.xml and then had to override the getSortString method where in I create a new Locale

CJKAnalyzer and Chinese Text sort

2009-03-06 Thread Sachin
For some reasons this never made to the mailing list, hence re-posting. - Hi All, Is there any way to sort Chinese text in solr? We have currently setup schema.xml to use CJKAnalyzer/CJKTokenizer for analyzing/tokenizing the text and sort is done on a field which only uses KeywordToke