GitHub user iwesp opened a pull request:
https://github.com/apache/lucene-solr/pull/349
LUCENE-7960 EdgeNGramTokenFilter: Add ability to keep original tokens.
Adds the following properties to the EdgeNGramTokenFilter:
- keepShortTerms: Don't drop input tokens smaller than minGramSize.
- keepLongTerms: Don't drop input tokens longer than maxGramSize.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/iwesp/lucene-solr edge-n-gram-keep-original
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/lucene-solr/pull/349.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #349
----
commit 13fee97fe0761013188e13ffc7dbb5ccc0d6b71e
Author: Ingomar Wesp <ingomar@...>
Date: 2018-03-30T21:40:17Z
EdgeNGramTokenFilter: Add ability to keep original tokens.
Adds the following properties to the EdgeNGramTokenFilter:
- keepShortTerms: Don't drop input tokens smaller than minGramSize.
- keepLongTerms: Don't drop input tokens longer than maxGramSize.
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]