lucene-dev mailing list archives

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

     [ https://issues.apache.org/jira/browse/SOLR-2919?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

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
ignored.
 * 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: https://issues.apache.org/jira/browse/SOLR-2919
>             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
keys.
> 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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message