File tree Expand file tree Collapse file tree 1 file changed +21
-1
lines changed Expand file tree Collapse file tree 1 file changed +21
-1
lines changed Original file line number Diff line number Diff line change @@ -67,7 +67,17 @@ func TestSearch_ListIndexes(t *testing.T) {
6767 "plot": {
6868 "analyzer": "lucene.standard",
6969 "type": "string"
70- }
70+ },
71+ "title": [
72+ {
73+ "analyzer": "lucene.keyword",
74+ "searchAnalyzer": "lucene.keyword",
75+ "type": "string"
76+ },
77+ {
78+ "type": "autocomplete"
79+ }
80+ ]
7181 }
7282 },
7383 "name": "SearchIndex1",
@@ -123,6 +133,16 @@ func TestSearch_ListIndexes(t *testing.T) {
123133 "analyzer" : "lucene.standard" ,
124134 "type" : "string" ,
125135 },
136+ "title" : []interface {}{
137+ map [string ]interface {}{
138+ "analyzer" : "lucene.keyword" ,
139+ "searchAnalyzer" : "lucene.keyword" ,
140+ "type" : "string" ,
141+ },
142+ map [string ]interface {}{
143+ "type" : "autocomplete" ,
144+ },
145+ },
126146 },
127147 },
128148 Name : "SearchIndex1" ,
You can’t perform that action at this time.
0 commit comments