diff src/goodjava/lucene/api/MoreFieldInfo.java @ 1525:f848d40b3b07

lucene.api add boosts
author Franklin Schmidt <fschmidt@gmail.com>
date Sat, 18 Jul 2020 20:41:47 -0600
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/goodjava/lucene/api/MoreFieldInfo.java	Sat Jul 18 20:41:47 2020 -0600
@@ -0,0 +1,14 @@
+package goodjava.lucene.api;
+
+import java.util.Map;
+
+
+public final class MoreFieldInfo {
+	public final Map<String,Object> unstoredFields;
+	public final Map<String,Float> boosts;
+
+	public MoreFieldInfo(Map<String,Object> unstoredFields,Map<String,Float> boosts) {
+		this.unstoredFields = unstoredFields;
+		this.boosts = boosts;
+	}
+}