You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "SatoshiKato (Jira)" <ji...@apache.org> on 2019/12/04 01:52:00 UTC
[jira] [Comment Edited] (LUCENE-8596) The replacement of comments
is a bug, in "UserDictionary.java"
[ https://issues.apache.org/jira/browse/LUCENE-8596?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16987421#comment-16987421 ]
SatoshiKato edited comment on LUCENE-8596 at 12/4/19 1:51 AM:
--------------------------------------------------------------
In rare cases, when registering the following programming languages in the user dictionary
{code:java}
C#,C#,シーシャープ,プログラミング言語
F#,F#,シーシャープ,プログラミング言語
{code}
was (Author: satoshi.kato):
In rare cases, when registering the following programming languages in the user dictionary
```
C#,C#,シーシャープ,プログラミング言語
F#,F#,シーシャープ,プログラミング言語
```
> The replacement of comments is a bug, in "UserDictionary.java"
> --------------------------------------------------------------
>
> Key: LUCENE-8596
> URL: https://issues.apache.org/jira/browse/LUCENE-8596
> Project: Lucene - Core
> Issue Type: Bug
> Components: modules/analysis
> Reporter: miyaharas
> Priority: Major
> Time Spent: 10m
> Remaining Estimate: 0h
>
> [https://github.com/apache/lucene-solr/blob/1d85cd783863f75cea133fb9c452302214165a4d/lucene/analysis/kuromoji/src/java/org/apache/lucene/analysis/ja/dict/UserDictionary.java#L68]
>
> hi
> I think that this is bug.
> I think the following is correct
> {code:java}
> line = line.replaceAll ("^ #. * $", "");
> {code}
>
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org