Mercurial Hosting > luan
comparison 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 |
comparison
equal
deleted
inserted
replaced
1527:fa1e3adbebfb | 1528:3bd4d7963456 |
---|---|
1 package goodjava.lucene.api; | 1 package goodjava.lucene.api; |
2 | 2 |
3 import java.util.Map; | 3 import java.util.Map; |
4 import org.apache.lucene.analysis.Analyzer; | 4 import org.apache.lucene.analysis.Analyzer; |
5 import org.apache.lucene.index.IndexWriterConfig; | |
5 | 6 |
6 | 7 |
7 public interface GoodIndexWriterConfig { | 8 public interface GoodIndexWriterConfig { |
9 public IndexWriterConfig newLuceneConfig(); | |
8 public boolean isIndexed(String fieldName); | 10 public boolean isIndexed(String fieldName); |
9 public Analyzer getAnalyzer(String fieldName); | 11 public Analyzer getAnalyzer(String fieldName); |
10 public MoreFieldInfo getMoreFieldInfo(Map<String,Object> storedFields); | 12 public MoreFieldInfo getMoreFieldInfo(Map<String,Object> storedFields); |
11 } | 13 } |