Skip to content

Commit

Permalink
chore: change int64 to int
Browse files Browse the repository at this point in the history
  • Loading branch information
GokselKUCUKSAHIN committed Jan 27, 2025
1 parent d3e0282 commit 9b0184f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions es/query_string.go
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ func (q queryStringType) Fuzziness(value string) queryStringType {
// Returns:
//
// The updated es.queryStringType object with the "fuzzy_max_expansions" option set.
func (q queryStringType) FuzzyMaxExpansions(value int64) queryStringType {
func (q queryStringType) FuzzyMaxExpansions(value int) queryStringType {
return q.putInTheField("fuzzy_max_expansions", value)
}

Expand All @@ -317,7 +317,7 @@ func (q queryStringType) FuzzyMaxExpansions(value int64) queryStringType {
// Returns:
//
// The updated es.queryStringType object with the "fuzzy_prefix_length" option set.
func (q queryStringType) FuzzyPrefixLength(value int64) queryStringType {
func (q queryStringType) FuzzyPrefixLength(value int) queryStringType {
return q.putInTheField("fuzzy_prefix_length", value)
}

Expand Down Expand Up @@ -391,7 +391,7 @@ func (q queryStringType) Lenient(value bool) queryStringType {
// Returns:
//
// The updated es.queryStringType object with the "max_determinized_states" option set.
func (q queryStringType) MaxDeterminizedStates(value int64) queryStringType {
func (q queryStringType) MaxDeterminizedStates(value int) queryStringType {
return q.putInTheField("max_determinized_states", value)
}

Expand Down
4 changes: 2 additions & 2 deletions es/simple_query_string.go
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ func (q simpleQueryStringType) MinimumShouldMatch(value string) simpleQueryStrin
// Returns:
//
// The updated es.simpleQueryStringType object with the "fuzzy_max_expansions" option set.
func (q simpleQueryStringType) FuzzyMaxExpansions(value int64) simpleQueryStringType {
func (q simpleQueryStringType) FuzzyMaxExpansions(value int) simpleQueryStringType {
return q.putInTheField("fuzzy_max_expansions", value)
}

Expand All @@ -156,7 +156,7 @@ func (q simpleQueryStringType) FuzzyMaxExpansions(value int64) simpleQueryString
// Returns:
//
// The updated es.simpleQueryStringType object with the "fuzzy_prefix_length" option set.
func (q simpleQueryStringType) FuzzyPrefixLength(value int64) simpleQueryStringType {
func (q simpleQueryStringType) FuzzyPrefixLength(value int) simpleQueryStringType {
return q.putInTheField("fuzzy_prefix_length", value)
}

Expand Down

0 comments on commit 9b0184f

Please sign in to comment.