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

Catalog search displays duplicate results #1427

Closed
mkenigs opened this issue May 9, 2024 · 2 comments
Closed

Catalog search displays duplicate results #1427

mkenigs opened this issue May 9, 2024 · 2 comments
Labels
bug Something isn't working team-cli Tickets relevant to the flox CLI team
Milestone

Comments

@mkenigs
Copy link
Contributor

mkenigs commented May 9, 2024

flox search displays the same result 4 times. I'm also guessing the 10 of 18 results isn't accurate

> FLOX_FEATURES_USE_CATALOG=true flox search hello
hello                    A program that produces a familiar, friendly greeting
hello                    A program that produces a familiar, friendly greeting
hello                    A program that produces a familiar, friendly greeting
hello                    A program that produces a familiar, friendly greeting
hello-unfree             An example package with unfree license (for testing)
hello-unfree             An example package with unfree license (for testing)
hello-unfree             An example package with unfree license (for testing)
hello-unfree             An example package with unfree license (for testing)
texlivePackages.othello  Modification of a Go package to create othello boards
texlivePackages.othello  Modification of a Go package to create othello boards

Showing 10 of 18 results. Use `flox search hello --all` to see the full list.

Use 'flox show <package>' to see available versions

Expected behavior:
Each search result is unique

@mkenigs mkenigs added the team-cli Tickets relevant to the flox CLI team label May 9, 2024
@mkenigs mkenigs added this to the Catalog 2 milestone May 9, 2024
@mkenigs mkenigs added the bug Something isn't working label May 9, 2024
@billlevine
Copy link
Contributor

This is due to the current implementation of the search index (getting one entry per stability).
Should be addressed on the service side with this issue

@billlevine
Copy link
Contributor

billlevine commented May 20, 2024

Resolved with flox/catalog-server#55

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working team-cli Tickets relevant to the flox CLI team
Projects
None yet
Development

No branches or pull requests

2 participants