@@ -54,7 +54,7 @@ public override Elastic.Clients.Elasticsearch.Core.Search.Hit<TDocument> Read(re
54
54
LocalJsonValue < System . Collections . Generic . IReadOnlyDictionary < string , System . Collections . Generic . IReadOnlyCollection < string > > ? > propHighlight = default ;
55
55
LocalJsonValue < string > propId = default ;
56
56
LocalJsonValue < System . Collections . Generic . IReadOnlyCollection < string > ? > propIgnored = default ;
57
- LocalJsonValue < System . Collections . Generic . IReadOnlyDictionary < string , System . Collections . Generic . IReadOnlyCollection < Elastic . Clients . Elasticsearch . FieldValue > > ? > propIgnoredFieldValues = default ;
57
+ LocalJsonValue < System . Collections . Generic . IReadOnlyDictionary < string , System . Collections . Generic . IReadOnlyCollection < object > > ? > propIgnoredFieldValues = default ;
58
58
LocalJsonValue < string > propIndex = default ;
59
59
LocalJsonValue < System . Collections . Generic . IReadOnlyDictionary < string , Elastic . Clients . Elasticsearch . Core . Search . InnerHitsResult > ? > propInnerHits = default ;
60
60
LocalJsonValue < Elastic . Clients . Elasticsearch . Union < System . Collections . Generic . IReadOnlyCollection < string > , System . Collections . Generic . IReadOnlyDictionary < string , double > > ? > propMatchedQueries = default ;
@@ -96,7 +96,7 @@ public override Elastic.Clients.Elasticsearch.Core.Search.Hit<TDocument> Read(re
96
96
continue ;
97
97
}
98
98
99
- if ( propIgnoredFieldValues . TryReadProperty ( ref reader , options , PropIgnoredFieldValues , static System . Collections . Generic . IReadOnlyDictionary < string , System . Collections . Generic . IReadOnlyCollection < Elastic . Clients . Elasticsearch . FieldValue > > ? ( ref System . Text . Json . Utf8JsonReader r , System . Text . Json . JsonSerializerOptions o ) => r . ReadDictionaryValue < string , System . Collections . Generic . IReadOnlyCollection < Elastic . Clients . Elasticsearch . FieldValue > > ( o , null , static System . Collections . Generic . IReadOnlyCollection < Elastic . Clients . Elasticsearch . FieldValue > ( ref System . Text . Json . Utf8JsonReader r , System . Text . Json . JsonSerializerOptions o ) => r . ReadCollectionValue < Elastic . Clients . Elasticsearch . FieldValue > ( o , null ) ! ) ) )
99
+ if ( propIgnoredFieldValues . TryReadProperty ( ref reader , options , PropIgnoredFieldValues , static System . Collections . Generic . IReadOnlyDictionary < string , System . Collections . Generic . IReadOnlyCollection < object > > ? ( ref System . Text . Json . Utf8JsonReader r , System . Text . Json . JsonSerializerOptions o ) => r . ReadDictionaryValue < string , System . Collections . Generic . IReadOnlyCollection < object > > ( o , null , static System . Collections . Generic . IReadOnlyCollection < object > ( ref System . Text . Json . Utf8JsonReader r , System . Text . Json . JsonSerializerOptions o ) => r . ReadCollectionValue < object > ( o , static object ( ref System . Text . Json . Utf8JsonReader r , System . Text . Json . JsonSerializerOptions o ) => r . ReadValueEx < object > ( o , typeof ( Elastic . Clients . Elasticsearch . Serialization . SourceMarker < object > ) ) ! ) ! ) ) )
100
100
{
101
101
continue ;
102
102
}
@@ -214,7 +214,7 @@ public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clien
214
214
writer . WriteProperty ( options , PropHighlight , value . Highlight , null , static ( System . Text . Json . Utf8JsonWriter w , System . Text . Json . JsonSerializerOptions o , System . Collections . Generic . IReadOnlyDictionary < string , System . Collections . Generic . IReadOnlyCollection < string > > ? v ) => w . WriteDictionaryValue < string , System . Collections . Generic . IReadOnlyCollection < string > > ( o , v , null , static ( System . Text . Json . Utf8JsonWriter w , System . Text . Json . JsonSerializerOptions o , System . Collections . Generic . IReadOnlyCollection < string > v ) => w . WriteCollectionValue < string > ( o , v , null ) ) ) ;
215
215
writer . WriteProperty ( options , PropId , value . Id , null , null ) ;
216
216
writer . WriteProperty ( options , PropIgnored , value . Ignored , null , static ( System . Text . Json . Utf8JsonWriter w , System . Text . Json . JsonSerializerOptions o , System . Collections . Generic . IReadOnlyCollection < string > ? v ) => w . WriteCollectionValue < string > ( o , v , null ) ) ;
217
- writer . WriteProperty ( options , PropIgnoredFieldValues , value . IgnoredFieldValues , null , static ( System . Text . Json . Utf8JsonWriter w , System . Text . Json . JsonSerializerOptions o , System . Collections . Generic . IReadOnlyDictionary < string , System . Collections . Generic . IReadOnlyCollection < Elastic . Clients . Elasticsearch . FieldValue > > ? v ) => w . WriteDictionaryValue < string , System . Collections . Generic . IReadOnlyCollection < Elastic . Clients . Elasticsearch . FieldValue > > ( o , v , null , static ( System . Text . Json . Utf8JsonWriter w , System . Text . Json . JsonSerializerOptions o , System . Collections . Generic . IReadOnlyCollection < Elastic . Clients . Elasticsearch . FieldValue > v ) => w . WriteCollectionValue < Elastic . Clients . Elasticsearch . FieldValue > ( o , v , null ) ) ) ;
217
+ writer . WriteProperty ( options , PropIgnoredFieldValues , value . IgnoredFieldValues , null , static ( System . Text . Json . Utf8JsonWriter w , System . Text . Json . JsonSerializerOptions o , System . Collections . Generic . IReadOnlyDictionary < string , System . Collections . Generic . IReadOnlyCollection < object > > ? v ) => w . WriteDictionaryValue < string , System . Collections . Generic . IReadOnlyCollection < object > > ( o , v , null , static ( System . Text . Json . Utf8JsonWriter w , System . Text . Json . JsonSerializerOptions o , System . Collections . Generic . IReadOnlyCollection < object > v ) => w . WriteCollectionValue < object > ( o , v , static ( System . Text . Json . Utf8JsonWriter w , System . Text . Json . JsonSerializerOptions o , object v ) => w . WriteValueEx < object > ( o , v , typeof ( Elastic . Clients . Elasticsearch . Serialization . SourceMarker < object > ) ) ) ) ) ;
218
218
writer . WriteProperty ( options , PropIndex , value . Index , null , null ) ;
219
219
writer . WriteProperty ( options , PropInnerHits , value . InnerHits , null , static ( System . Text . Json . Utf8JsonWriter w , System . Text . Json . JsonSerializerOptions o , System . Collections . Generic . IReadOnlyDictionary < string , Elastic . Clients . Elasticsearch . Core . Search . InnerHitsResult > ? v ) => w . WriteDictionaryValue < string , Elastic . Clients . Elasticsearch . Core . Search . InnerHitsResult > ( o , v , null , null ) ) ;
220
220
writer . WriteProperty ( options , PropMatchedQueries , value . MatchedQueries , null , static ( System . Text . Json . Utf8JsonWriter w , System . Text . Json . JsonSerializerOptions o , Elastic . Clients . Elasticsearch . Union < System . Collections . Generic . IReadOnlyCollection < string > , System . Collections . Generic . IReadOnlyDictionary < string , double > > ? v ) => w . WriteUnionValue < System . Collections . Generic . IReadOnlyCollection < string > , System . Collections . Generic . IReadOnlyDictionary < string , double > > ( o , v , static ( System . Text . Json . Utf8JsonWriter w , System . Text . Json . JsonSerializerOptions o , System . Collections . Generic . IReadOnlyCollection < string > v ) => w . WriteCollectionValue < string > ( o , v , null ) , static ( System . Text . Json . Utf8JsonWriter w , System . Text . Json . JsonSerializerOptions o , System . Collections . Generic . IReadOnlyDictionary < string , double > v ) => w . WriteDictionaryValue < string , double > ( o , v , null , null ) ) ) ;
0 commit comments