You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Christian Moen (Commented) (JIRA)" <ji...@apache.org> on 2012/02/05 09:31:51 UTC
[jira] [Commented] (LUCENE-3751) Align default Japanese
configurations for Lucene and Solr
[ https://issues.apache.org/jira/browse/LUCENE-3751?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13200690#comment-13200690 ]
Christian Moen commented on LUCENE-3751:
----------------------------------------
Patch for {{trunk}} is attached.
The behavior or {{KuromojiAnalyzer}} is now the same as field type {{text_ja}} in Solr's example {{schema.xml}} (see SOLR-3056), including the order of the filters.
I think it makes sense to have the {{LowerCaseFilter}} late in the chain as it might make sense to use a case-based {{StopFilter}}. It doesn't perhaps matter much in {{KuromojiAnalyzer}}'s case since the defaults don't do this anyway, but I thought it was good to practice to align configuration anyway.
I've also clarified an error message and a javadoc.
> Align default Japanese configurations for Lucene and Solr
> ---------------------------------------------------------
>
> Key: LUCENE-3751
> URL: https://issues.apache.org/jira/browse/LUCENE-3751
> Project: Lucene - Java
> Issue Type: Improvement
> Components: modules/analysis
> Affects Versions: 3.6, 4.0
> Reporter: Christian Moen
> Attachments: LUCENE-3751.patch
>
>
> The {{KuromojiAnalyzer}} in Lucene shoud have the same default configuration as the {{text_ja}} field type introduced in {{schema.xml}} by SOLR-3056.
--
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