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
The Scan API has been deprecated and in 5.6+ it throws the following error. I know that #6 is open to support more recent versions of ES, but I thought I should point out that some APIs do not work in 5.x.
let scroll = Duration::minutes(1);
let mut scan_result: ScanResult<TestDocument> = client
.search_query()
.with_query(&query)
.with_indexes(&indexes)
.with_size(100)
.scan(&scroll)
.unwrap();
`Err` value: EsServerError("400 Bad Request - {\"error\":{\"root_cause\":[{\"type\":\"illegal_argument_exception\",\"reason\":\"No search type for [scan]\"}],\"type\":\"illegal_argument_exception\",\"reason\":\"No search type for [scan]\"},\"status\":400}")', libcore/result.rs:945:5
Thanks.
The text was updated successfully, but these errors were encountered:
The Scan API has been deprecated and in 5.6+ it throws the following error. I know that #6 is open to support more recent versions of ES, but I thought I should point out that some APIs do not work in 5.x.
Thanks.
The text was updated successfully, but these errors were encountered: