Mercurial Hosting > luan
diff 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 |
line wrap: on
line diff
--- a/src/goodjava/lucene/api/MultiFieldParserConfig.java Sat Jul 18 01:00:21 2020 -0600 +++ b/src/goodjava/lucene/api/MultiFieldParserConfig.java Sat Jul 18 20:41:47 2020 -0600 @@ -29,7 +29,9 @@ return analyzer instanceof KeywordAnalyzer ? null : analyzer; } - public Map<String,Object> getUnstoredFields(Map<String,Object> storedFields) { - return Collections.emptyMap(); + private static final MoreFieldInfo noMoreFieldInfo = new MoreFieldInfo(Collections.emptyMap(),Collections.emptyMap()); + + public MoreFieldInfo getMoreFieldInfo(Map<String,Object> storedFields) { + return noMoreFieldInfo; } }