Fixed small issue in SuggestBuilder#getText
This commit is contained in:
parent
e000808836
commit
ef8ef2afe0
|
@ -72,7 +72,7 @@ public class SuggestBuilder extends ToXContentToBytes implements Writeable<Sugge
|
|||
* Gets the global suggest text
|
||||
*/
|
||||
public String getText() {
|
||||
return null;
|
||||
return this.globalText;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue