[
https://issues.apache.org/jira/browse/LUCENE-8051?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16279697#comment-16279697
]
ASF GitHub Bot commented on LUCENE-8051:
----------------------------------------
GitHub user imgpulak opened a pull request:
https://github.com/apache/lucene-solr/pull/284
[LUCENE-8051] Typo in LevensHtein distance
Fixed a type:
"Looking into an issue in elasticsearch I notices that the Levenshtein
distance in lucene is called LevensteinDistance instead of LevenshteinDistance.
The algorithm name contains an H and in the rest of the code the
Levenshtein name is spelled correctly with an H."
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/imgpulak/lucene-solr LUCENE-8051
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/lucene-solr/pull/284.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #284
----
commit fbabf5ed63a65fdd52723bdb585a789530d64e05
Author: PG <[email protected]>
Date: 2017-12-06T05:52:55Z
[LUCENE-8051] Typo in LevensHtein distance
Fixed a type:
"Looking into an issue in elasticsearch I notices that the Levenshtein
distance in lucene is called LevensteinDistance instead of LevenshteinDistance.
The algorithm name contains an H and in the rest of the code the
Levenshtein name is spelled correctly with an H."
----
> Typo in LevensHtein distance
> -----------------------------
>
> Key: LUCENE-8051
> URL: https://issues.apache.org/jira/browse/LUCENE-8051
> Project: Lucene - Core
> Issue Type: Bug
> Components: modules/suggest
> Reporter: olcbean
>
> Looking into an issue in elasticsearch I notices that the Levenshtein
> distance in lucene is called
> [LevensteinDistance|https://github.com/apache/lucene-solr/blob/df5a5f949b1a28feff0cc25fe13c95b502feac31/lucene/suggest/src/java/org/apache/lucene/search/spell/LevensteinDistance.java#L22]
> instead of Levens{color:red}*h*{color}teinDistance.
> The [algorithm
> name|https://github.com/apache/lucene-solr/blob/df5a5f949b1a28feff0cc25fe13c95b502feac31/lucene/suggest/src/java/org/apache/lucene/search/spell/LevensteinDistance.java#L33
> ] contains an *{{H}}* and in the rest of the code the Levenshtein name is
> spelled correctly with an *{{H}}*.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]