view src/goodjava/lucene/api/GoodIndexWriterConfig.java @ 1625:57c8baadb357

handle UnsupportedClassVersionError
author Franklin Schmidt <fschmidt@gmail.com>
date Sun, 05 Sep 2021 12:32:27 -0600
parents 3bd4d7963456
children
line wrap: on
line source

package goodjava.lucene.api;

import java.util.Map;
import org.apache.lucene.analysis.Analyzer;
import org.apache.lucene.index.IndexWriterConfig;


public interface GoodIndexWriterConfig {
	public IndexWriterConfig newLuceneConfig();
	public boolean isIndexed(String fieldName);
	public Analyzer getAnalyzer(String fieldName);
	public MoreFieldInfo getMoreFieldInfo(Map<String,Object> storedFields);
}