> But I thought NGramFilterFactory would generate substrings > that start in the "middle", hence ensuring autocomplete > matching in the middle. > > So in the case of "electric guitar", keywordtokenizer would > create one token - "electric guitar" > > NGramFilterFactory would then take that one toke ("electric > guitar") and generate N-grams out of it. One of the ngrams > would be "guit" because "guit" is a substring of "electric > guitar". >
Ups. You are correct, I am sorry. I mixed it with *Edge*NGramFilterFActory.