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

Search results from different indexes if names are similar #31

Open
hschmied opened this issue Oct 25, 2024 · 1 comment
Open

Search results from different indexes if names are similar #31

hschmied opened this issue Oct 25, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@hschmied
Copy link

hschmied commented Oct 25, 2024

I've noticed that a similarity search on one provided index also returned results from another index, but not always. After some testing I figured out that this occurs, when the index names are similar, or to be more specific, if the name of the searched index is a prefix of the other index, which should not be searched on.

Example:

  • Index 1: "apple"
  • Index 2: "applejuice"

If I now connect to Index #1 and perform a search, I get results from #1 as well as #2. However, when I search on #2 I only get results from 'applejuice', since its name is not a prefix of #1.

Anyone else noticed/aware of that? Now that I know I make sure the index names are not too simple, but at least while prototyping I might come across this when I can't be bothered to have a long/complex name.

Cheers!

@tylerhutcherson
Copy link
Collaborator

Have not seen this before -- we will look into it closer. Thanks for the feedback!

@tylerhutcherson tylerhutcherson added the bug Something isn't working label Oct 25, 2024
@tylerhutcherson tylerhutcherson self-assigned this Oct 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants