diff --git a/code/process-models/processed-data/java/nu/marginalia/model/processed/DocumentRecordKeywordsProjection.java b/code/process-models/processed-data/java/nu/marginalia/model/processed/DocumentRecordKeywordsProjection.java index 5e98f96c..9f332841 100644 --- a/code/process-models/processed-data/java/nu/marginalia/model/processed/DocumentRecordKeywordsProjection.java +++ b/code/process-models/processed-data/java/nu/marginalia/model/processed/DocumentRecordKeywordsProjection.java @@ -41,7 +41,7 @@ public class DocumentRecordKeywordsProjection { } public static Collection 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); }