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
Custom precision for search does not work on current version, but somehow runable on older version (7.17.0 ).
I afraid that other part of code would not work as intended if I downgraded the lib. Please help
test = client.search(engine_name="esri-poi-711-location-search",
body={
"query": "acb",
"precision": 2 })
---------------------------------------------------------------------------TypeError Traceback (most recent call last)
Input In [6], in <cell line: 1>()
----> 1 test = client.search(engine_name="esri-poi-711-location-search",
2 body={
3 "query": "acb",
4 "precision": 2 5 })
File ~\miniconda3\lib\site-packages\elastic_enterprise_search_utils.py:454, in _rewrite_parameters..wrapper..wrapped(*args, **kwargs)
451 except KeyError:
452 pass--> 454 return api(*args, **kwargs)
TypeError: search() got an unexpected keyword argument 'precision'
The text was updated successfully, but these errors were encountered:
Custom precision for search does not work on current version, but somehow runable on older version (7.17.0 ).
I afraid that other part of code would not work as intended if I downgraded the lib. Please help
test = client.search(engine_name="esri-poi-711-location-search",
body={
"query": "acb",
"precision": 2 })
---------------------------------------------------------------------------TypeError Traceback (most recent call last)
Input In [6], in <cell line: 1>()
----> 1 test = client.search(engine_name="esri-poi-711-location-search",
2 body={
3 "query": "acb",
4 "precision": 2 5 })
File ~\miniconda3\lib\site-packages\elastic_enterprise_search_utils.py:454, in _rewrite_parameters..wrapper..wrapped(*args, **kwargs)
451 except KeyError:
452 pass--> 454 return api(*args, **kwargs)
TypeError: search() got an unexpected keyword argument 'precision'
The text was updated successfully, but these errors were encountered: