mirror of
https://github.com/MarginaliaSearch/MarginaliaSearch.git
synced 2025-02-23 13:09:00 +00:00
(loader) Correctly load the positions column in the keyword projection
This commit is contained in:
parent
36160988e2
commit
55b2b7636b
@ -41,7 +41,7 @@ public class DocumentRecordKeywordsProjection {
|
||||
}
|
||||
|
||||
public static Collection<String> requiredColumns() {
|
||||
return List.of("domain", "ordinal", "htmlFeatures", "word", "wordMeta", "documentMetadata", "length");
|
||||
return List.of("domain", "ordinal", "htmlFeatures", "word", "wordMeta", "documentMetadata", "length", "positions");
|
||||
}
|
||||
|
||||
@SneakyThrows
|
||||
@ -63,7 +63,7 @@ public class DocumentRecordKeywordsProjection {
|
||||
}
|
||||
this.metas.add((long) value);
|
||||
}
|
||||
case "position" -> {
|
||||
case "positions" -> {
|
||||
if (this.positions == null) {
|
||||
this.positions = new ArrayList<>(100);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user