You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: sdk/search/azure-search-documents/src/samples/java/com/azure/search/documents/IndexAndServiceStatisticsExample.java
+26-28Lines changed: 26 additions & 28 deletions
Original file line number
Diff line number
Diff line change
@@ -136,15 +136,15 @@ private static Index createTestIndex() {
136
136
.setFilterable(Boolean.TRUE)
137
137
.setSortable(Boolean.TRUE)
138
138
.setFacetable(Boolean.TRUE)
139
-
.setRetrievable(Boolean.TRUE),
139
+
.setHidden(Boolean.FALSE),
140
140
newField()
141
141
.setName("HotelName")
142
142
.setType(DataType.EDM_STRING)
143
143
.setSearchable(Boolean.TRUE)
144
144
.setFilterable(Boolean.TRUE)
145
145
.setSortable(Boolean.TRUE)
146
146
.setFacetable(Boolean.FALSE)
147
-
.setRetrievable(Boolean.TRUE),
147
+
.setHidden(Boolean.FALSE),
148
148
newField()
149
149
.setName("Description")
150
150
.setType(DataType.EDM_STRING)
@@ -154,7 +154,7 @@ private static Index createTestIndex() {
154
154
.setSortable(Boolean.FALSE)
155
155
.setFacetable(Boolean.FALSE)
156
156
.setAnalyzer(AnalyzerName.EN_LUCENE)
157
-
.setRetrievable(Boolean.TRUE),
157
+
.setHidden(Boolean.FALSE),
158
158
newField()
159
159
.setName("DescriptionFr")
160
160
.setType(DataType.EDM_STRING)
@@ -163,7 +163,7 @@ private static Index createTestIndex() {
163
163
.setSortable(Boolean.FALSE)
164
164
.setFacetable(Boolean.FALSE)
165
165
.setAnalyzer(AnalyzerName.FR_LUCENE)
166
-
.setRetrievable(Boolean.TRUE),
166
+
.setHidden(Boolean.FALSE),
167
167
newField()
168
168
.setName("Description_Custom")
169
169
.setType(DataType.EDM_STRING)
@@ -173,51 +173,51 @@ private static Index createTestIndex() {
0 commit comments