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

Uwe Schindler commented on LUCENE-7866:
---------------------------------------

[~mikemccand]: Does this look OK for you? What do you think about a TokenFilter 
that maps "TypeAttribute" to TF values? For payloads it is there, but I am not 
sure if this is useful.

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

Reply via email to