Mercurial Hosting > luan
diff 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 diff
--- a/src/goodjava/lucene/api/GoodIndexWriterConfig.java Sun Jul 26 15:06:15 2020 -0600 +++ b/src/goodjava/lucene/api/GoodIndexWriterConfig.java Sun Jul 26 23:11:53 2020 -0600 @@ -2,9 +2,11 @@ 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);