Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gql: Search with multiple target vectors and weights #318

Merged
merged 21 commits into from
Oct 31, 2024

Commits on Oct 24, 2024

  1. Configuration menu
    Copy the full SHA
    8ab612a View commit details
    Browse the repository at this point in the history
  2. weaviategh-304: support multiple vectors per target in near vector se…

    …arch
    
    + Extended Serializer.array to support nested arrays.
    bevzzz committed Oct 24, 2024
    Configuration menu
    Copy the full SHA
    9bcfd1e View commit details
    Browse the repository at this point in the history

Commits on Oct 25, 2024

  1. ci: target v1.27 server

    Updated integration test to use multiple target feature.
    bevzzz committed Oct 25, 2024
    Configuration menu
    Copy the full SHA
    c375772 View commit details
    Browse the repository at this point in the history
  2. fix: report GraphQL errors returned with HTTP 200

    Previously BaseClient would "swallow" these errors,
    assuming HTTP 200 means a successful request.
    However, GraphQL specs allow it to send status 200
    alongside a response body with a list of errors.
    bevzzz committed Oct 25, 2024
    Configuration menu
    Copy the full SHA
    4dfddc4 View commit details
    Browse the repository at this point in the history
  3. fix: update expected error message

    In v1.27 sending a replication request which requests more
    nodes than is available produces a different error message.
    bevzzz committed Oct 25, 2024
    Configuration menu
    Copy the full SHA
    214b3a6 View commit details
    Browse the repository at this point in the history
  4. test: update groupBy query integration test

    It seems that in v1.27 the "groupBy" property should be requested as well,
    otherwise the server returns fewer results than before.
    bevzzz committed Oct 25, 2024
    Configuration menu
    Copy the full SHA
    566844f View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    650a2e9 View commit details
    Browse the repository at this point in the history

Commits on Oct 29, 2024

  1. feat: ensure query has a target name for each target vector

    This commit mirrors changes in the Go client:
    weaviate/weaviate-go-client@6fa31b9
    bevzzz committed Oct 29, 2024
    Configuration menu
    Copy the full SHA
    69460ae View commit details
    Browse the repository at this point in the history

Commits on Oct 30, 2024

  1. Configuration menu
    Copy the full SHA
    21ef147 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1715f9e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6197168 View commit details
    Browse the repository at this point in the history
  4. test: fix expected result

    WeaviateClass has a default filter strategy "sweeping"
    bevzzz committed Oct 30, 2024
    Configuration menu
    Copy the full SHA
    7465c91 View commit details
    Browse the repository at this point in the history
  5. refactor: extract "sneaky errors" from gql responses

    In contrast to the previous implementation, this approach
    inverts the dependencies: BaseClient provides a mechanism
    for an external class to extract errors from "custom" locations
    in the response body, while staying entirely unaware of the
    concrete classes that might do that.
    bevzzz committed Oct 30, 2024
    Configuration menu
    Copy the full SHA
    d9459f3 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    1564b7f View commit details
    Browse the repository at this point in the history
  7. chore: format code

    bevzzz committed Oct 30, 2024
    Configuration menu
    Copy the full SHA
    3d1b60e View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    9a4c3e4 View commit details
    Browse the repository at this point in the history
  9. test: add test fur multi-target search with single vector-per-target

    Fix invalid @returns tag in Javadoc
    bevzzz committed Oct 30, 2024
    Configuration menu
    Copy the full SHA
    4b84a16 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    6d4d973 View commit details
    Browse the repository at this point in the history
  11. refactor: drop SneakyErrors interface

    BaseClient will give GraphQLResponse special treatment
    bevzzz committed Oct 30, 2024
    Configuration menu
    Copy the full SHA
    4166cf9 View commit details
    Browse the repository at this point in the history
  12. chore: implement suggestions from review

    - Renamed FilterStrategy enum
    - Dropped default values for filtera and deletion strategy configs
    bevzzz committed Oct 30, 2024
    Configuration menu
    Copy the full SHA
    328beaa View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    ca12123 View commit details
    Browse the repository at this point in the history