public void setNGram(boolean nGram,int gramSize) {
        this.isNGram = nGram;
        this.gramSize = gramSize;
    }
Returns the gram size. Only used if isNGram is true (default: 2)
container-search/src/main/java/com/yahoo/prelude/Index.java