@@ -33,16 +33,16 @@ class AggregationRange(AttrDict[Any]):
33
33
:arg to: End of the range (exclusive).
34
34
"""
35
35
36
- from_ : Union [float , DefaultType ]
36
+ from_ : Union [float , None , DefaultType ]
37
37
key : Union [str , DefaultType ]
38
- to : Union [float , DefaultType ]
38
+ to : Union [float , None , DefaultType ]
39
39
40
40
def __init__ (
41
41
self ,
42
42
* ,
43
- from_ : Union [float , DefaultType ] = DEFAULT ,
43
+ from_ : Union [float , None , DefaultType ] = DEFAULT ,
44
44
key : Union [str , DefaultType ] = DEFAULT ,
45
- to : Union [float , DefaultType ] = DEFAULT ,
45
+ to : Union [float , None , DefaultType ] = DEFAULT ,
46
46
** kwargs : Any ,
47
47
):
48
48
if from_ is not DEFAULT :
@@ -1226,7 +1226,6 @@ class HighlightField(AttrDict[Any]):
1226
1226
"""
1227
1227
:arg fragment_offset:
1228
1228
:arg matched_fields:
1229
- :arg analyzer:
1230
1229
:arg type:
1231
1230
:arg boundary_chars: A string that contains each boundary character.
1232
1231
Defaults to `.,!? \t \n ` if omitted.
@@ -1300,7 +1299,6 @@ class HighlightField(AttrDict[Any]):
1300
1299
Sequence [Union [str , InstrumentedField ]],
1301
1300
DefaultType ,
1302
1301
]
1303
- analyzer : Union [str , Dict [str , Any ], DefaultType ]
1304
1302
type : Union [Literal ["plain" , "fvh" , "unified" ], DefaultType ]
1305
1303
boundary_chars : Union [str , DefaultType ]
1306
1304
boundary_max_scan : Union [int , DefaultType ]
@@ -1332,7 +1330,6 @@ def __init__(
1332
1330
Sequence [Union [str , InstrumentedField ]],
1333
1331
DefaultType ,
1334
1332
] = DEFAULT ,
1335
- analyzer : Union [str , Dict [str , Any ], DefaultType ] = DEFAULT ,
1336
1333
type : Union [Literal ["plain" , "fvh" , "unified" ], DefaultType ] = DEFAULT ,
1337
1334
boundary_chars : Union [str , DefaultType ] = DEFAULT ,
1338
1335
boundary_max_scan : Union [int , DefaultType ] = DEFAULT ,
@@ -1362,8 +1359,6 @@ def __init__(
1362
1359
kwargs ["fragment_offset" ] = fragment_offset
1363
1360
if matched_fields is not DEFAULT :
1364
1361
kwargs ["matched_fields" ] = str (matched_fields )
1365
- if analyzer is not DEFAULT :
1366
- kwargs ["analyzer" ] = analyzer
1367
1362
if type is not DEFAULT :
1368
1363
kwargs ["type" ] = type
1369
1364
if boundary_chars is not DEFAULT :
0 commit comments