[ 
https://issues.apache.org/jira/browse/LUCENE-6423?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

David Smiley updated LUCENE-6423:
---------------------------------
    Attachment: LUCENE-6423_LimitTokenOffsetFilter.patch

Here's a patch -- very straight-forward.  The similar filters offered tests to 
emulate.

> New LimitTokenOffsetFilter
> --------------------------
>
>                 Key: LUCENE-6423
>                 URL: https://issues.apache.org/jira/browse/LUCENE-6423
>             Project: Lucene - Core
>          Issue Type: New Feature
>          Components: modules/analysis
>            Reporter: David Smiley
>            Assignee: David Smiley
>         Attachments: LUCENE-6423_LimitTokenOffsetFilter.patch
>
>
> It would be nice to have a token filter that limited based on the offset.  I 
> suggest the start offset.  It should be named LimitTokenOffsetFilter to have 
> a name similar to the other LimitToken*Filter choices, including a 
> "consumeAllTokens" option.  I plan to use this filter in LUCENE-6392 (to 
> limit tokens from analyzed text for applicable methods in TokenSources) and 
> in LUCENE-6375.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to