Mercurial Hosting > luan
annotate 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 |
rev | line source |
---|---|
1460 | 1 package goodjava.lucene.api; |
2 | |
3 import java.util.Map; | |
4 import org.apache.lucene.analysis.Analyzer; | |
1528
3bd4d7963456
use goodjava/lucene/api
Franklin Schmidt <fschmidt@gmail.com>
parents:
1525
diff
changeset
|
5 import org.apache.lucene.index.IndexWriterConfig; |
1460 | 6 |
7 | |
8 public interface GoodIndexWriterConfig { | |
1528
3bd4d7963456
use goodjava/lucene/api
Franklin Schmidt <fschmidt@gmail.com>
parents:
1525
diff
changeset
|
9 public IndexWriterConfig newLuceneConfig(); |
1460 | 10 public boolean isIndexed(String fieldName); |
11 public Analyzer getAnalyzer(String fieldName); | |
1525
f848d40b3b07
lucene.api add boosts
Franklin Schmidt <fschmidt@gmail.com>
parents:
1460
diff
changeset
|
12 public MoreFieldInfo getMoreFieldInfo(Map<String,Object> storedFields); |
1460 | 13 } |