view src/goodjava/lucene/api/GoodIndexWriterConfig.java @ 1624:fe611f6e3c28

more content types
author Franklin Schmidt <fschmidt@gmail.com>
date Sat, 07 Aug 2021 20:01:46 -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);
}