We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d56ed88 commit 9fa1d1dCopy full SHA for 9fa1d1d
src/main/java/org/springframework/data/elasticsearch/core/suggest/Completion.java
@@ -28,13 +28,18 @@
28
* @author Mewes Kochheim
29
* @author Robert Gruendler
30
* @author Peter-Josef Meisch
31
+ * @author Houtaroy
32
*/
33
public class Completion {
34
35
private String[] input;
36
@Nullable private Map<String, List<String>> contexts;
37
@Nullable private Integer weight;
38
39
+ public Completion() {
40
+ this.input = new String[0];
41
+ }
42
+
43
@PersistenceConstructor
44
public Completion(String[] input) {
45
this.input = input;
0 commit comments