GitHub user xabbu42 opened a pull request:

    EdgeNGramTokenFilter drops payloads

    Test and fix for

You can merge this pull request into a Git repository by running:

    $ git pull edgepayloads

Alternatively you can review and apply these changes as the patch at:

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #138
commit 61e45283061ae486acc5882c5a770025c8291222
Author: Nathan Gass <>
Date:   2017-01-09T13:59:31Z

    add test that EdgeNGram filter keeps payloads

commit 6570e6ecc2b14a28da9873948083791ba47145d0
Author: Nathan Gass <>
Date:   2017-01-09T14:00:21Z

    copy all attributes including payload to new tokens

commit 01f2a87c67392a86b533d0c76ba7666845d1945f
Author: Nathan Gass <>
Date:   2017-01-13T14:54:07Z

    use captureState and restoreState instead of cloneAttributes


If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

To unsubscribe, e-mail:
For additional commands, e-mail:

Reply via email to