GitHub user iwesp opened a pull request:
https://github.com/apache/lucene-solr/pull/362
LUCENE-7960 N-Gram filters: Add options to keep original terms.
Adds the following properties to EdgeNGramTokenFilter & NGramTokenFilter:
- keepShortTerm: Don't drop input terms smaller than minGramSize.
- keepLongTerm: Don't drop input terms longer than maxGramSize.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/iwesp/lucene-solr n-gram-filters-keep-original
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/lucene-solr/pull/362.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 #362
----
commit ca80f34ec0c60a8a01a687f670b25283982e75be
Author: Ingomar Wesp <ingomar@...>
Date: 2018-03-30T21:40:17Z
N-Gram filters: Add options to keep original terms.
Adds the following properties to EdgeNGramTokenFilter &
NGramTokenFilter:
- keepShortTerm: Don't drop input terms smaller than minGramSize.
- keepLongTerm: Don't drop input terms longer than maxGramSize.
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]