IndicesExistsRequest with allowNoIndices = true always returns true
tastyminerals opened this issue · 1 comments
tastyminerals commented
elastic4s version: 8.11.5
I am converting our code to elastic4s and notice that
val lenientExpandOpenClosedOptions: IndicesOptionsRequest = IndicesOptionsRequest(
allowNoIndices = true,
ignoreUnavailable = true,
expandWildcardsOpen = true,
expandWildcardClosed = true
)
val exists1 = client.execute(IndicesExistsRequest(
Indexes("xasdaeasdsaxadsad"), Some(IndicesOptions.lenientExpandOpenClosedOptions))
).await.result.isExists
will always return true
due to allowNoIndices = true
, is this the expected behavior?
tastyminerals commented
ok, according to the elastic4s tests, it is. Closing.