(keywords) Add Serializable properties that went missing as the record became a class
This commit is contained in:
parent
04212b2cef
commit
676e7c7947
@ -1,11 +1,22 @@
|
||||
package nu.marginalia.keyword.model;
|
||||
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Getter;
|
||||
import lombok.NoArgsConstructor;
|
||||
import lombok.Setter;
|
||||
import nu.marginalia.model.idx.WordMetadata;
|
||||
|
||||
public final class DocumentKeywords {
|
||||
final String[] keywords;
|
||||
final long[] metadata;
|
||||
import java.io.Serial;
|
||||
import java.io.Serializable;
|
||||
|
||||
public final class DocumentKeywords implements Serializable {
|
||||
|
||||
@Serial
|
||||
private static final long serialVersionUID = 1387282293082091432L;
|
||||
|
||||
public final String[] keywords;
|
||||
public final long[] metadata;
|
||||
|
||||
public DocumentKeywords(String[] keywords,
|
||||
long[] metadata)
|
||||
|
Loading…
Reference in New Issue
Block a user