Two things:
1) if you want face to match interface, you need max value to be at least 4.
2) you probably have the factory symmetrically or on Query analyzer. You
probably want it on Index analyzer side only. Otherwise you are trying to
match any 3-letter query substring against yoir index.

Admin UI analysis screen will show that to you.

Regards,
    Alex

On Mon, Jul 2, 2018, 11:01 AM Kudrettin Güleryüz, <kudret...@gmail.com>
wrote:

> Hi,
>
> When using NgramTokenizerFactory with settings min ngram size=3 and max
> ngram size=3 I get the following behaviour.
>
> Assume that search term is, face
>
> I expect the results to show documents with strings:
> * interface or
> * face or
> * faceted
>
> but not
> * ace or
> * fac
>
> Why would I get the matches with results ace or fac? Am I missing some
> settings somewhere? What is the suggested way to change this this
> behaviour?
>
> Thank you,
>

Reply via email to