diff src/goodjava/lucene/api/GoodIndexWriterConfig.java @ 1460:3ab0d043370f

start lucene.api
author Franklin Schmidt <fschmidt@gmail.com>
date Mon, 23 Mar 2020 00:04:42 -0600
parents
children f848d40b3b07
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/goodjava/lucene/api/GoodIndexWriterConfig.java	Mon Mar 23 00:04:42 2020 -0600
@@ -0,0 +1,11 @@
+package goodjava.lucene.api;
+
+import java.util.Map;
+import org.apache.lucene.analysis.Analyzer;
+
+
+public interface GoodIndexWriterConfig {
+	public boolean isIndexed(String fieldName);
+	public Analyzer getAnalyzer(String fieldName);
+	public Map<String,Object> getUnstoredFields(Map<String,Object> storedFields);
+}