You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2021/04/29 00:48:00 UTC

[jira] [Commented] (LUCENE-9572) Allow TypeAsSynonymFilter to propagate selected flags and Ignore some types

    [ https://issues.apache.org/jira/browse/LUCENE-9572?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17335078#comment-17335078 ] 

ASF subversion and git services commented on LUCENE-9572:
---------------------------------------------------------

Commit d7e4be6fc621a95165eb32d1d6f02bea4f5010ef in lucene-solr's branch refs/heads/branch_8x from Gus Heck
[ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=d7e4be6 ]

LUCENE-9572 Backport from 9.0 (#2485)



> Allow TypeAsSynonymFilter to propagate selected flags and Ignore some types
> ---------------------------------------------------------------------------
>
>                 Key: LUCENE-9572
>                 URL: https://issues.apache.org/jira/browse/LUCENE-9572
>             Project: Lucene - Core
>          Issue Type: New Feature
>          Components: modules/analysis, modules/test-framework
>            Reporter: Gus Heck
>            Assignee: Gus Heck
>            Priority: Major
>          Time Spent: 5.5h
>  Remaining Estimate: 0h
>
> (Breaking this off of SOLR-14597 for independent review)
> TypeAsSynonymFilter converts types attributes to a synonym. In some cases the original token may have already had flags set on it and it may be useful to propagate some or all of those flags to the synonym we are generating. This ticket provides that ability and allows the user to specify a bitmask to specify which flags are retained.
> Additionally there may be some set of types that should not be converted to synonyms, and this change allows the user to specify a comma separated list of types to ignore (most common case will be to ignore a common default type of 'word' I suspect)



--
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