class IndexWriterConfigFactory {

    IndexWriterConfigFactory() {
    }

    public IndexWriterConfig get() {<FILL_FUNCTION_BODY>}
}

        RuntimeEnvironment env = RuntimeEnvironment.getInstance();

        Analyzer analyzer = AnalyzerGuru.getAnalyzer();
        IndexWriterConfig iwc = new IndexWriterConfig(analyzer);
        iwc.setOpenMode(IndexWriterConfig.OpenMode.CREATE_OR_APPEND);
        iwc.setRAMBufferSizeMB(env.getRamBufferSize());
        return iwc;
    
<no_super_class>