view src/goodjava/lucene/api/GoodIndexWriterConfig.java @ 1734:02d2a6c3bc6f

content-types for doc and docx
author Franklin Schmidt <fschmidt@gmail.com>
date Sun, 18 Sep 2022 15:38: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);
}