spring-ai icon indicating copy to clipboard operation
spring-ai copied to clipboard

Opensearch similarity search should include index name

Open quachc opened this issue 1 year ago • 1 comments

Bug description SearchRequest 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...

quachc avatar Jun 18 '24 09:06 quachc

I have addressed this issue in the submitted PR #1435. I kindly request your review of the changes. Thank you! 😊

inpink avatar Sep 29 '24 07:09 inpink