It's checked in, SOLR-2438. Although it's getting some surgery so you can expect it to morph a bit.
Erick On Wed, Nov 23, 2011 at 11:22 PM, Michael Sokolov <soko...@ifactory.com> wrote: > Thanks for confirming that, and laying out the options, Robert. > > -Mike > > On 11/23/2011 9:03 PM, Robert Muir wrote: >> >> hi, >> >> locale sensitive range queries don't work with these filters, only sort, >> although erick erickson has a patch that will enable this (the lowercasing >> wildcards patch, then you could add this filter to your multiterm chain). >> >> separately locale range queries and sort both work easily on trunk (with >> binary terms)... just use collationfield or icucollationfield if you are >> able to use trunk... >> >> otherwise for 3.x I think that patch is pretty close any day now, so we >> can >> add an example for localized range queries that makes use of it. >> >> On Nov 23, 2011 4:39 PM, "Michael Sokolov"<soko...@ifactory.com> wrote: >>> >>> I'm using CollectionKeyFilter to sort my documents using the Unicode root >> >> collation, and my documents do appear to be getting sorted correctly, but >> I'm getting weird results when performing range filtering using the sort >> key field. For example: >>> >>> ifp_sortkey_ls:["youth culture" TO "youth culture"] >>> >>> and >>> >>> ifp_sortkey_ls:{"youth culture" TO "youth culture"} >>> >>> both return 0 hits >>> >>> but >>> >>> ifp_sortkey_ls:"youth culture" >>> >>> returns 1 hit >>> >>> It seems as if any query using the ifp_sortkey_ls:[A to B] syntax is >> >> acting as if the terms A, B are greater than all documents whose sortkeys >> start with an A-Z character, but less than a few documents that have greek >> letters as their first characters of their sortkeys. >>> >>> the analysis chain for ifp_sortkey_ls is: >>> >>> <fieldType name="sortkey" stored="false" indexed="true" >> >> class="solr.TextField" positionIncrementGap="100" omitNorms="true" >> omitTermFreqAndPositions="true"> >>> >>> <analyzer> >>> <tokenizer class="solr.KeywordTokenizerFactory"/> >>> <filter class="solr.LowerCaseFilterFactory"/> >>> <!-- The TrimFilter removes any leading or trailing whitespace --> >>> <filter class="solr.TrimFilterFactory" /> >>> <filter class="solr.CollationKeyFilterFactory" >>> language="" >>> strength="primary" >>> /> >>> </analyzer> >>> </fieldType> >>> >>> Does anyone have any idea what might be going on here? >>> > >