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

Robert Muir updated LUCENE-2124:
--------------------------------

    Attachment: LUCENE-2124.patch

attached is a patch to apply after running the following commands (so you can 
see the real changes):

{noformat}
mkdir src/java/org/apache/lucene/collation
svn add src/java/org/apache/lucene/collation
mkdir src/test/org/apache/lucene/collation
svn add src/test/org/apache/lucene/collation
svn move 
contrib/collation/src/java/org/apache/lucene/collation/CollationKeyFilter.java 
src/java/org/apache/lucene/collation
svn move 
contrib/collation/src/java/org/apache/lucene/collation/CollationKeyAnalyzer.java
 src/java/org/apache/lucene/collation
svn move 
contrib/collation/src/test/org/apache/lucene/collation/CollationTestBase.java 
src/test/org/apache/lucene/collation
svn move 
contrib/collation/src/test/org/apache/lucene/collation/TestCollationKeyFilter.java
 src/test/org/apache/lucene/collation
svn move 
contrib/collation/src/test/org/apache/lucene/collation/TestCollationKeyAnalyzer.java
 src/test/org/apache/lucene/collation
svn copy contrib/collation/src/java/org/apache/lucene/collation/package.html 
src/java/org/apache/lucene/collation
mkdir -p contrib/icu/src/java/org/apache/lucene/collation 
contrib/icu/src/test/org/apache/lucene/collation contrib/icu/lib
svn add contrib/icu
svn move 
contrib/collation/src/java/org/apache/lucene/collation/ICUCollationKeyAnalyzer.java
 contrib/icu/src/java/org/apache/lucene/collation
svn move 
contrib/collation/src/java/org/apache/lucene/collation/ICUCollationKeyFilter.java
 contrib/icu/src/java/org/apache/lucene/collation
svn move contrib/collation/src/java/org/apache/lucene/collation/package.html 
contrib/icu/src/java/org/apache/lucene/collation
svn move 
contrib/collation/src/test/org/apache/lucene/collation/TestICUCollationKeyAnalyzer.java
 contrib/icu/src/test/org/apache/lucene/collation
svn move 
contrib/collation/src/test/org/apache/lucene/collation/TestICUCollationKeyFilter.java
 contrib/icu/src/test/org/apache/lucene/collation
svn move contrib/collation/build.xml contrib/collation/pom.xml.template 
contrib/icu
svn move contrib/collation/src/java/overview.html contrib/icu/src/java
svn move contrib/collation/lib/icu4j-collation-4.0.jar contrib/icu/lib
svn move contrib/collation/lib/ICU-LICENSE.txt contrib/icu/lib
svn delete contrib/collation
{noformat}

The only real changes I made were slight javadocs/build, and removal of the 
testFarsiRangeQueryParsing, it is tested via several other mechanisms, 
introduced a dependency to contrib/misc, and I don't feel so bad about taking 
it out since its in the examples in the javadoc, so it not like it removes the 
example.


> move JDK collation to core, ICU collation to ICU contrib
> --------------------------------------------------------
>
>                 Key: LUCENE-2124
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2124
>             Project: Lucene - Java
>          Issue Type: Task
>          Components: contrib/*, Search
>            Reporter: Robert Muir
>            Priority: Minor
>             Fix For: 3.1
>
>         Attachments: LUCENE-2124.patch
>
>
> As mentioned on the list, I propose we move the JDK-based 
> CollationKeyFilter/CollationKeyAnalyzer, currently located in 
> contrib/collation into core for collation support (language-sensitive sorting)
> These are not much code (the heavy duty stuff is already in core, 
> IndexableBinaryString). 
> And I would also like to move the 
> ICUCollationKeyFilter/ICUCollationKeyAnalyzer (along with the jar file they 
> depend on) also currently located in contrib/collation into a contrib/icu.
> This way, we can start looking at integrating other functionality from ICU 
> into a fully-fleshed out icu contrib.

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