andreaCosm opened a new issue, #859:
URL: https://github.com/apache/lucenenet/issues/859

   
   Without the option to change, what is the default behavior of terms over the 
maxgram?
   _____
   
https://lucene.apache.org/core/7_5_0/analyzers-common/org/apache/lucene/analysis/ngram/EdgeNGramTokenFilter.html#EdgeNGramTokenFilter-org.apache.lucene.analysis.TokenStream-int-int-boolean-
   
   EdgeNGramTokenFilter
   public 
EdgeNGramTokenFilter([TokenStream](https://lucene.apache.org/core/7_5_0/core/org/apache/lucene/analysis/TokenStream.html?is-external=true)
 input,
                               int minGram,
                               int maxGram,
                               boolean preserveOriginal)
   
   Creates an EdgeNGramTokenFilter that, for a given input term, produces all 
edge n-grams with lengths >= minGram and <= maxGram. Will optionally preserve 
the original term when its length is outside of the defined range.
   
   Parameters:
   input - 
[TokenStream](https://lucene.apache.org/core/7_5_0/core/org/apache/lucene/analysis/TokenStream.html?is-external=true)
 holding the input to be tokenized
   minGram - the minimum length of the generated n-grams
   maxGram - the maximum length of the generated n-grams
   **_preserveOriginal - Whether or not to keep the original term when it is 
outside the min/max size range._**


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to