lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hoss Man (JIRA)" <>
Subject [jira] [Commented] (LUCENE-6914) DecimalDigitFilter skips characters in some cases (supplemental?)
Date Mon, 17 Oct 2016 20:02:59 GMT


Hoss Man commented on LUCENE-6914:

go for it [~jpountz] ... like i said before...

bq. Since i'm way out of my depth here i don't intend on commiting ... Anybody who understands
this and thinks my patch looks good is welcome to run with it ... no need to wait for me.

> DecimalDigitFilter skips characters in some cases (supplemental?)
> -----------------------------------------------------------------
>                 Key: LUCENE-6914
>                 URL:
>             Project: Lucene - Core
>          Issue Type: Bug
>    Affects Versions: 5.4
>            Reporter: Hoss Man
>         Attachments: LUCENE-6914.patch, LUCENE-6914.patch, LUCENE-6914.patch
> Found this while writing up the solr ref guide for DecimalDigitFilter. 
> With input like "𝟙𝟡𝟠𝟜" ("Double Struck" 1984) the filter produces "1𝟡8𝟜"
(1, double struck 9, 8, double struck 4)  add some non-decimal characters in between the digits
(ie: "𝟙x𝟡x𝟠x𝟜") and you get the expected output ("1x9x8x4").  This doesn't affect
all decimal characters though, as evident by the existing test cases.
> Perhaps this is an off by one bug in the "if the original was supplementary, shrink the
string" code path?

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message