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 9b0184f commit ad8b87eCopy full SHA for ad8b87e
es/query_string.go
@@ -463,8 +463,8 @@ func (q queryStringType) QuoteAnalyzer(value string) queryStringType {
463
// Returns:
464
//
465
// The updated es.queryStringType object with the "phrase_slop" option set.
466
-func (q queryStringType) PhraseSlop(value int64) queryStringType {
467
- return q.putInTheField("phrase_slop", value)
+func (q queryStringType) PhraseSlop(slop float64) queryStringType {
+ return q.putInTheField("phrase_slop", slop)
468
}
469
470
// QuoteFieldSuffix sets the field suffix to be used for quoted text in the es.queryStringType object.
0 commit comments