You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Robert Muir (JIRA)" <ji...@apache.org> on 2011/01/24 13:45:44 UTC

[jira] Resolved: (SOLR-2334) solr. icu4j for Unicode Normalization

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

Robert Muir resolved SOLR-2334.
-------------------------------

    Resolution: Not A Problem

Hi Ahmad,

In the trunk (to be 4.0) and branch_3x (3.1) svn repositories, take a look at the analysis-extras contrib for this.
For example:
 http://svn.apache.org/repos/asf/lucene/dev/branches/branch_3x/solr/contrib/analysis-extras/src/java/org/apache/solr/analysis/

In order to filter with ICU transforms, you want to use ICUTransformFilterFactory.

It takes two parameters:
 * id (mandatory): A Transliterator ID, one from {@link Transliterator#getAvailableIDs()}
 * direction (optional): Either 'forward' or 'reverse'. Default is forward.


> solr. icu4j for Unicode Normalization
> -------------------------------------
>
>                 Key: SOLR-2334
>                 URL: https://issues.apache.org/jira/browse/SOLR-2334
>             Project: Solr
>          Issue Type: Test
>          Components: clients - java
>    Affects Versions: 1.4
>         Environment: debian lenny and squeez  , 1386 arch
>            Reporter: ahmad maher
>             Fix For: 1.4.2
>
>
> Dears,
> i use icu4j for UnicodeNormalization in schema.xml like that
> "
>         <filter class="schema.UnicodeNormalizationFilterFactory" version="icu4j" composed="false" remove_diacritics="true" remove_modifiers="true" fold="true"/>
> "
> and if i use any token except English tokens in filter class ,  it return error,  like in using solr.PatternReplaceFilterFactory
> how can i use :
> transliterate rule  and transform rule in solr schema or config file ?
> as mentioned here http://userguide.icu-project.org/transforms/general
> can any one help me ?

-- 
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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org