Mercurial Hosting > luan
comparison src/goodjava/lucene/api/MultiFieldParserConfig.java @ 1525:f848d40b3b07
lucene.api add boosts
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Sat, 18 Jul 2020 20:41:47 -0600 |
parents | 3ab0d043370f |
children | 3bd4d7963456 |
comparison
equal
deleted
inserted
replaced
1524:7902e74bfe5c | 1525:f848d40b3b07 |
---|---|
27 StringFieldParser sfp = (StringFieldParser)fp; | 27 StringFieldParser sfp = (StringFieldParser)fp; |
28 Analyzer analyzer = sfp.analyzer; | 28 Analyzer analyzer = sfp.analyzer; |
29 return analyzer instanceof KeywordAnalyzer ? null : analyzer; | 29 return analyzer instanceof KeywordAnalyzer ? null : analyzer; |
30 } | 30 } |
31 | 31 |
32 public Map<String,Object> getUnstoredFields(Map<String,Object> storedFields) { | 32 private static final MoreFieldInfo noMoreFieldInfo = new MoreFieldInfo(Collections.emptyMap(),Collections.emptyMap()); |
33 return Collections.emptyMap(); | 33 |
34 public MoreFieldInfo getMoreFieldInfo(Map<String,Object> storedFields) { | |
35 return noMoreFieldInfo; | |
34 } | 36 } |
35 } | 37 } |