Skip to content

Commit cd9876d

Browse files
chore: fix documentation typo on simpleQueryString query
1 parent 06c7dde commit cd9876d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

es/simple_query_string.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ func (q simpleQueryStringType) Fields(value []string) simpleQueryStringType {
5151
return q.putInTheField("fields", value)
5252
}
5353

54-
// Analyzer sets the analyzer to be used for the simpleQueryStringType object.
54+
// Analyzer sets the analyzer to be used for the es.simpleQueryStringType object.
5555
//
5656
// This method specifies the analyzer that should be applied to the query string.
5757
// Analyzers are used to process the text, such as tokenizing and normalizing it,
@@ -203,7 +203,7 @@ func (q simpleQueryStringType) AnalyzeWildcard(value bool) simpleQueryStringType
203203
}
204204

205205
// AutoGenerateSynonymsPhraseQuery sets the option to automatically generate phrase queries for synonyms
206-
// in the simpleQueryStringType object.
206+
// in the es.simpleQueryStringType object.
207207
//
208208
// This method enables or disables the automatic generation of phrase queries for synonyms in the query string.
209209
// When set to true, Elasticsearch will automatically create phrase queries for terms that have synonyms,

0 commit comments

Comments
 (0)