mirror of
https://github.com/dapr/dapr.git
synced 2026-10-28 16:46:37 +08:00
* feat: add search and vector building blocks Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Signed-off-by: Mike Nguyen <hey@mike.ee> * fix: regen proto, bump deps and update tests Signed-off-by: Mike Nguyen <hey@mike.ee> * fix: linter issues Signed-off-by: Mike Nguyen <hey@mike.ee> * fix: linter issues Signed-off-by: Mike Nguyen <hey@mike.ee> * fix: linter issues Signed-off-by: Mike Nguyen <hey@mike.ee> * fix(tests): disable meilisearch windows integration test Meilisearch does not publish a windos image. Signed-off-by: Mike Nguyen <hey@mike.ee> * feat(searchvector): address review comments - Make optional request fields in search.proto and vector.proto proper fields so an unset value can be told apart from false or 0. Remove the reserved placeholders for alpha and regenerate the Go code. - Leave out the search continuation token when there are no more pages, instead of returning an empty string. - Reject a batch vector query that names a different store or collection. The error goes in that query's slot; queries that leave both unset still use the batch's store and collection. - Stop the HTTP batch query handler from overwriting each query's store and collection, so the runtime can catch a mismatch. - Reject a write's wait_timeout if it isn't shorter than the store's resiliency timeout, and add PolicyDefinition.Timeout() to support this. - Pin the Meilisearch test image to v1.43, the version components-contrib tests against. - Add unit and integration tests for wait-for-completion, wait timeout actions, continuation tokens, missing indexes and collections, dimension mismatches, batch query mismatches and resiliency behaviour. Signed-off-by: Mike Nguyen <hey@mike.ee> * fix: stop retrying writes after an expired FAIL_REQUEST wait Signed-off-by: Mike Nguyen <hey@mike.ee> * chore: remove replace and update dep Signed-off-by: Mike Nguyen <hey@mike.ee> * fix: address various feedback and issues Signed-off-by: Mike Nguyen <hey@mike.ee> * fix: do not treat ALREADY_EXISTS ona retry as a success Signed-off-by: Mike Nguyen <hey@mike.ee> * Use in memory vector/search for int tests- move muilisearch to e2e Signed-off-by: joshvanl <me@joshvanl.dev> --------- Signed-off-by: Mike Nguyen <hey@mike.ee> Signed-off-by: joshvanl <me@joshvanl.dev> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Co-authored-by: Cassie Coyle <cassie@diagrid.io> Co-authored-by: Nelson Parente <nelson_parente@live.com.pt> Co-authored-by: joshvanl <me@joshvanl.dev>