@@ -33,16 +33,16 @@ class AggregationRange(AttrDict[Any]):
3333 :arg to: End of the range (exclusive).
3434 """
3535
36- from_ : Union [float , DefaultType ]
36+ from_ : Union [float , None , DefaultType ]
3737 key : Union [str , DefaultType ]
38- to : Union [float , DefaultType ]
38+ to : Union [float , None , DefaultType ]
3939
4040 def __init__ (
4141 self ,
4242 * ,
43- from_ : Union [float , DefaultType ] = DEFAULT ,
43+ from_ : Union [float , None , DefaultType ] = DEFAULT ,
4444 key : Union [str , DefaultType ] = DEFAULT ,
45- to : Union [float , DefaultType ] = DEFAULT ,
45+ to : Union [float , None , DefaultType ] = DEFAULT ,
4646 ** kwargs : Any ,
4747 ):
4848 if from_ is not DEFAULT :
@@ -1226,7 +1226,6 @@ class HighlightField(AttrDict[Any]):
12261226 """
12271227 :arg fragment_offset:
12281228 :arg matched_fields:
1229- :arg analyzer:
12301229 :arg type:
12311230 :arg boundary_chars: A string that contains each boundary character.
12321231 Defaults to `.,!? \t \n ` if omitted.
@@ -1300,7 +1299,6 @@ class HighlightField(AttrDict[Any]):
13001299 Sequence [Union [str , InstrumentedField ]],
13011300 DefaultType ,
13021301 ]
1303- analyzer : Union [str , Dict [str , Any ], DefaultType ]
13041302 type : Union [Literal ["plain" , "fvh" , "unified" ], DefaultType ]
13051303 boundary_chars : Union [str , DefaultType ]
13061304 boundary_max_scan : Union [int , DefaultType ]
@@ -1332,7 +1330,6 @@ def __init__(
13321330 Sequence [Union [str , InstrumentedField ]],
13331331 DefaultType ,
13341332 ] = DEFAULT ,
1335- analyzer : Union [str , Dict [str , Any ], DefaultType ] = DEFAULT ,
13361333 type : Union [Literal ["plain" , "fvh" , "unified" ], DefaultType ] = DEFAULT ,
13371334 boundary_chars : Union [str , DefaultType ] = DEFAULT ,
13381335 boundary_max_scan : Union [int , DefaultType ] = DEFAULT ,
@@ -1362,8 +1359,6 @@ def __init__(
13621359 kwargs ["fragment_offset" ] = fragment_offset
13631360 if matched_fields is not DEFAULT :
13641361 kwargs ["matched_fields" ] = str (matched_fields )
1365- if analyzer is not DEFAULT :
1366- kwargs ["analyzer" ] = analyzer
13671362 if type is not DEFAULT :
13681363 kwargs ["type" ] = type
13691364 if boundary_chars is not DEFAULT :
0 commit comments