lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Muir (Updated) (JIRA)" <>
Subject [jira] [Updated] (SOLR-2919) Localized RangeQuery support
Date Mon, 28 Nov 2011 06:46:43 GMT


Robert Muir updated SOLR-2919:

    Attachment: SOLR-2919.patch

Here's a patch turning this on.

I also exposed additional expert sort options for ICUCollationKeyFactory/ICUCollationField
and added tests:
 * alternate: 'shifted' or 'non-ignorable'. Can be used to ignore punctuation/whitespace.
 * caseLevel: 'true' or 'false'. Useful with strength=primary to ignore accents but not case.
 * caseFirst: 'lower' or 'upper'. Useful to control which is sorted first when case is not
 * numeric: 'true' or 'false'. Digits are sorted according to numeric value, e.g. foobar-9
sorts before foobar-10
 * variableTop: single character or contraction. Controls what is variable for 'alternate'

> Localized RangeQuery support
> ----------------------------
>                 Key: SOLR-2919
>                 URL:
>             Project: Solr
>          Issue Type: New Feature
>    Affects Versions: 3.6, 4.0
>            Reporter: Robert Muir
>         Attachments: SOLR-2919.patch
> Since SOLR-2438, we can support localized rangequeries if someone has (ICU)CollationKeyFilter
in the chain.
> I think it might be best to add these automagically, because if you use these filters
then not analyzing
> with them just means stuff doesn't work at all, since the terms are represented as collation
> In trunk this already works, because (ICU)CollationField takes care of it.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message