We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1e006fd commit 0b9f9d6Copy full SHA for 0b9f9d6
src/main/java/org/springframework/data/elasticsearch/core/completion/Completion.java
@@ -20,11 +20,11 @@ public class Completion {
20
@Nullable private Map<String, List<String>> contexts;
21
@Nullable private Integer weight;
22
23
+ @PersistenceConstructor
24
public Completion(String[] input) {
25
this.input = input;
26
}
27
- @PersistenceConstructor
28
public Completion(List<String> input) {
29
this.input = input.toArray(new String[0]);
30
0 commit comments