Bug descriptionSearchRequest does not include index name which results in an error when using Opensearch role own_index:
no permissions for [indices:data/read/search] and User [name=...]
Environment
Spring AI 1.0.0-SNAPSHOT
Java 21,
Opensearch 2.14.0
Steps to reproduce
Create an user with permissions for a single index (e.g. role own_index)
Expected behavior
Should be able to execute the similarity search without errors
Minimal Complete Reproducible example
Not available...
Bug description
SearchRequest
does not include index name which results in an error when using Opensearch roleown_index
: no permissions for [indices:data/read/search] and User [name=...]Environment Spring AI 1.0.0-SNAPSHOT Java 21, Opensearch 2.14.0
Steps to reproduce Create an user with permissions for a single index (e.g. role
own_index
)Expected behavior Should be able to execute the similarity search without errors
Minimal Complete Reproducible example Not available...