Closed
Description
Elastic.Clients.Elasticsearch version:
9.0.4
Elasticsearch version:
9.0.1
.NET runtime version:
.net 9
Operating system version:
linux
Description of the problem including expected versus actual behavior:
A clear and concise description of what the bug is.
Elastic.Transport.TransportException: Request failed to execute. Call: Status code 400 from: POST /index/_update/id_cities?refresh=True. ServerError: Type: illegal_argument_exception Reason: "Unknown value for refresh: [True]."
Steps to reproduce:
await Client.UpdateAsync<MailboxMessageSearch, object>(
result.index,
Infer.Id(item),
d => d.Doc(new
{
item.LabelType,
item.Status,
item.Email,//for old messages
item.Outbound //for old messages
})
.Refresh(Refresh.True)
Expected behavior
?refresh=True should be in lowercase