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

Ensure indexer hits are unique #3425

Merged
merged 1 commit into from
Oct 4, 2023
Merged

Ensure indexer hits are unique #3425

merged 1 commit into from
Oct 4, 2023

Conversation

jpellizzari
Copy link
Contributor

@jpellizzari jpellizzari commented Oct 2, 2023

Closes #3402

Ensures that indexer hits are unique. Since we have two records for each object, one with unstructured and one without, we have two hits on the same object if no query params are supplied.

@jpellizzari jpellizzari added the bug Something isn't working label Oct 2, 2023
@jpellizzari jpellizzari marked this pull request as ready for review October 2, 2023 17:49
Copy link
Contributor

@opudrovs opudrovs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested it locally and can confirm that the issue does not happen anymore, great job! 🎉

@enekofb
Copy link
Contributor

enekofb commented Oct 3, 2023

we have two hits on the same object if no query params are supplied.

@jpellizzari could you expand on the background of having two hits?

Copy link
Contributor

@enekofb enekofb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tested that I can only see one result now

Screenshot 2023-10-03 at 14 59 02

@jpellizzari
Copy link
Contributor Author

we have two hits on the same object if no query params are supplied.

@jpellizzari could you expand on the background of having two hits?

One hit on the “all terms” query, and another on the “all unstructured” query.

@enekofb
Copy link
Contributor

enekofb commented Oct 3, 2023

we have two hits on the same object if no query params are supplied.

@jpellizzari could you expand on the background of having two hits?

One hit on the “all terms” query, and another on the “all unstructured” query.

Got it now, thanks!

@jpellizzari jpellizzari merged commit c63aebb into main Oct 4, 2023
@jpellizzari jpellizzari deleted the jp-label-query branch October 4, 2023 16:09
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

Successfully merging this pull request may close these issues.

i could see duplicated resources in explorer
3 participants