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

Robert Muir updated LUCENE-2181:
--------------------------------

    Attachment: LUCENE-2181.patch

Hi Steve, thanks a lot for your work here, this is nice.

I put the files in my apache directory, but modified your patch somewhat
* I moved it to the benchmark package proper
* I created two tasks: NewLocale and NewCollationAnalyzer

The NewLocale task sets a Locale in the PerfRunData, in my opinion this is 
reusable beyond collation since it could be used for testing Localized sorting 
and range searching as well, it supports all Locale params 
(lang,country,variant)

The NewCollationAnalyzer creates a [ICU]CollationKeyAnalyzer with the collator 
defaults depending upon this Locale, right now i only added options to specify 
impl (impl:jdk or impl:icu), but in the future we can add strength, 
decomposition, etc.

Take a look and let me know what you think, surely I made some mistakes but it 
appears to work fine.


> benchmark for collation
> -----------------------
>
>                 Key: LUCENE-2181
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2181
>             Project: Lucene - Java
>          Issue Type: New Feature
>          Components: contrib/benchmark
>            Reporter: Robert Muir
>            Assignee: Robert Muir
>         Attachments: LUCENE-2181.patch, LUCENE-2181.patch, 
> top.100k.words.de.en.fr.uk.wikipedia.2009-11.tar.bz2
>
>
> Steven Rowe attached a contrib/benchmark-based benchmark for collation (both 
> jdk and icu) under LUCENE-2084, along with some instructions to run it... 
> I think it would be a nice if we could turn this into a committable patch and 
> add it to benchmark.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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

Reply via email to