[
https://issues.apache.org/jira/browse/LUCENE-7866?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16039795#comment-16039795
]
Uwe Schindler commented on LUCENE-7866:
---------------------------------------
bq. Maybe also avoid the toString by using the ArrayUtil method
Ah cool forgot about that. You are faster than I am creating patches :-)
> 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, 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]