File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
src/Tests/Nest.Tests.Integration/Core/GetFieldMapping Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -111,7 +111,7 @@ public void SpecialFields_AreInspectable()
111
111
. SearchAnalyzer ( "default" )
112
112
. StoreTermVectorPositions ( )
113
113
)
114
- . IndexField ( i=> i . Enabled ( false ) . Store ( ) )
114
+ . IndexField ( i=> i . Enabled ( true ) . Store ( true ) )
115
115
. SizeField ( i=> i . Enabled ( false ) . Store ( false ) )
116
116
. IdField ( i => i
117
117
. Index ( "not_analyzed" )
@@ -168,7 +168,8 @@ public void SpecialFields_AreInspectable()
168
168
169
169
var indexField = fieldMappingResponse . MappingFor < SpecialDto > ( "_index" ) as IndexFieldMapping ;
170
170
indexField . Should ( ) . NotBeNull ( ) ;
171
- indexField . Enabled . Should ( ) . BeFalse ( ) ;
171
+ indexField . Enabled . Should ( ) . BeTrue ( ) ;
172
+ indexField . Store . Should ( ) . BeTrue ( ) ;
172
173
173
174
var typeField = fieldMappingResponse . MappingFor < SpecialDto > ( "_type" ) as TypeFieldMapping ;
174
175
typeField . Should ( ) . NotBeNull ( ) ;
You can’t perform that action at this time.
0 commit comments