Skip to content

Commit

Permalink
Correct example in test to use arrays and minGram parameter error (#891)
Browse files Browse the repository at this point in the history
  • Loading branch information
martinstibbe authored Nov 1, 2022
1 parent 72b7dd8 commit 7a80b75
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions mongodbatlas/resource_mongodbatlas_search_index_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -270,20 +270,20 @@ func testAccMongoDBAtlasSearchIndexConfigAdvanced(projectID, clusterName string)
analyzers = <<-EOF
[{
"name": "index_analyzer_test_name",
"charFilters": {
"charFilters": [{
"type": "mapping",
"mappings": {"\\" : "/"}
},
"tokenizer": {
}],
"tokenizer": [{
"type": "nGram",
"min_gram": 2,
"max_gram": 5
},
"tokenFilters": {
"minGram": 2,
"maxGram": 5
}],
"tokenFilters": [{
"type": "length",
"min": 20,
"max": 33
}
}]
}]
EOF
}
Expand Down

0 comments on commit 7a80b75

Please sign in to comment.