[
https://issues.apache.org/jira/browse/LUCENE-7866?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16039787#comment-16039787
]
Robert Muir commented on LUCENE-7866:
-------------------------------------
Maybe also avoid the toString by using the ArrayUtil method:
https://github.com/apache/lucene-solr/blob/master/lucene/core/src/java/org/apache/lucene/util/ArrayUtil.java#L50-L52
> Add TokenFilter to add custom term frequency (like
> DelimitedPayloadTokenFilter)
> -------------------------------------------------------------------------------
>
> Key: LUCENE-7866
> URL: https://issues.apache.org/jira/browse/LUCENE-7866
> Project: Lucene - Core
> Issue Type: Improvement
> Components: modules/analysis
> Reporter: Uwe Schindler
> Assignee: Uwe Schindler
> Fix For: master (7.0)
>
> Attachments: LUCENE-7866.patch, LUCENE-7866.patch
>
>
> This is a followup of LUCENE-7854. This will add a simple {{TokenFilter}}
> like {{DelimitedPayloadTokenFilter}} that can be used to index a custom term
> frequency: {{"token|5"}} will be index token "token" with a term freq of 5.
> The effect is the same as adding the token 5 times by a "repeat token filter".
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]