view src/goodjava/lucene/api/GoodIndexWriterConfig.java @ 1528:3bd4d7963456

use goodjava/lucene/api
author Franklin Schmidt <fschmidt@gmail.com>
date Sun, 26 Jul 2020 23:11:53 -0600
parents f848d40b3b07
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);
}