view src/goodjava/lucene/api/GoodIndexWriterConfig.java @ 1648:224af797b1f9

Mainly small install script improvements - Consistent usage of `$LUANHOME`, removed reliance on current directory. - Made Luan build and install fine (on Linux) without requiring launching it via sudo. Only asks to elevate privileges if installation failed. - Minor spelling mistake fix.
author Fox
date Mon, 28 Mar 2022 18:00:12 +0200
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);
}