lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adrien Grand (JIRA)" <>
Subject [jira] [Resolved] (LUCENE-7536) ASCIIFoldingFilterFactory.getMultiTermComponent can emit two tokens
Date Fri, 18 Nov 2016 09:28:59 GMT


Adrien Grand resolved LUCENE-7536.
       Resolution: Fixed
    Fix Version/s: 6.4
                   master (7.0)

> ASCIIFoldingFilterFactory.getMultiTermComponent can emit two tokens
> -------------------------------------------------------------------
>                 Key: LUCENE-7536
>                 URL:
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Adrien Grand
>            Priority: Minor
>             Fix For: master (7.0), 6.4
>         Attachments: LUCENE-7536.patch
> My understanding is that it is a requirement for multi-term analysis to only normalize
tokens, and not eg. remove tokens (stop filter) or add tokens (by tokenizing or adding synonyms).
Yet ASCIIFoldingFilterFactory.getMultiTermComponent will return a factory that emits synonyms
if preserveOriginal is set to true on the original filter.
> This looks like a bug to me but I'm not entirely sure how to fix it. Should the multi-term
analysis component do ascii folding or not if the original factory has preserveOriginal set
to true?

This message was sent by Atlassian JIRA

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

View raw message