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

Can't group on nearObject search in weaviate:1.8.0-rc.2 #1734

Closed
bobvanluijt opened this issue Oct 22, 2021 · 1 comment
Closed

Can't group on nearObject search in weaviate:1.8.0-rc.2 #1734

bobvanluijt opened this issue Oct 22, 2021 · 1 comment
Labels

Comments

@bobvanluijt
Copy link
Member

Grouping is not working on a nearObject search in weaviate:1.8.0-rc.2 - it works correctly in 1.7.2

e.g.,

{
  Get {
    Product(
      nearObject: {
        id: "22324c6c-4595-5be6-a205-45b1ce4b9e94"
      }
      group: {
        type: closest
        force: 1.0
      }
    ) {
      name
      # _additional {
      #   certainty
      # }
    }
  }
}

results in

{
  "data": {
    "Get": {
      "Product": [
        {
          "name": "Kenobi Trail Jacket-XS-Purple"
        },
        {
          "name": "Kenobi Trail Jacket-XS-Blue"
        },
        {
          "name": "Kenobi Trail Jacket-XL-Purple"
        },
        {
          "name": "Kenobi Trail Jacket-XL-Blue"
        },
etc...
@etiennedi
Copy link
Member

Verified on v1.18.x. Works. Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants