annotate src/goodjava/lucene/api/MoreFieldInfo.java @ 1727:63ab02188e9d

change priority
author Vadim Filimonov <fffilimonov@yandex.ru>
date Thu, 11 Aug 2022 13:11:53 +0200
parents f848d40b3b07
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1525
f848d40b3b07 lucene.api add boosts
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
1 package goodjava.lucene.api;
f848d40b3b07 lucene.api add boosts
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
2
f848d40b3b07 lucene.api add boosts
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
3 import java.util.Map;
f848d40b3b07 lucene.api add boosts
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
4
f848d40b3b07 lucene.api add boosts
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
5
f848d40b3b07 lucene.api add boosts
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
6 public final class MoreFieldInfo {
f848d40b3b07 lucene.api add boosts
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
7 public final Map<String,Object> unstoredFields;
f848d40b3b07 lucene.api add boosts
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
8 public final Map<String,Float> boosts;
f848d40b3b07 lucene.api add boosts
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
9
f848d40b3b07 lucene.api add boosts
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
10 public MoreFieldInfo(Map<String,Object> unstoredFields,Map<String,Float> boosts) {
f848d40b3b07 lucene.api add boosts
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
11 this.unstoredFields = unstoredFields;
f848d40b3b07 lucene.api add boosts
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
12 this.boosts = boosts;
f848d40b3b07 lucene.api add boosts
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
13 }
f848d40b3b07 lucene.api add boosts
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
14 }