public IndexFacts freeze() {
        hasNGramIndices = hasNGramIndices();
        // TODO: Freeze content!
        frozen = true;
        return this;
    }
Freeze this to prevent further changes.

@return this for chaining
container-search/src/main/java/com/yahoo/prelude/IndexFacts.java