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
: 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 &
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
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
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
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