Skip to content

Commit

Permalink
Update search.go
Browse files Browse the repository at this point in the history
  • Loading branch information
gssbzn committed Jul 14, 2020
1 parent 096c3fb commit 62fead7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mongodbatlas/search.go
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ type SearchIndex struct {
SearchAnalyzer string `json:"searchAnalyzer,omitempty"`
}

// IndexMapping criteria to use for archiving data.
// IndexMapping containing index specifications for the collection fields.
type IndexMapping struct {
Dynamic bool `json:"dynamic"`
Fields *map[string]IndexField `json:"fields,omitempty"`
Expand All @@ -223,7 +223,7 @@ type IndexField struct {
Type string `json:"type"`
}

// SearchAnalyzer custom analyzer definition
// SearchAnalyzer custom analyzer definition.
type SearchAnalyzer struct {
BaseAnalyzer string `json:"baseAnalyzer"`
MaxTokenLength *float64 `json:"maxTokenLength,omitempty"`
Expand Down

0 comments on commit 62fead7

Please sign in to comment.