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

fix(facetOrdering): prevent sparse array #4922

Closed
wants to merge 1 commit into from
Closed

Conversation

Haroenv
Copy link
Contributor

@Haroenv Haroenv commented Oct 12, 2021

Summary

This caused the number of items in limit to be lower than the possible returned results, as sparse elements in an array still "take up space"

algolia/algoliasearch-helper-js#879

Result

More items show up, as "missing" items in refinements (ordered, but not in results) no longer take up space

still to do:

  • rely on non-prerelease helper version

This caused the number of items in limit to be lower than the possible returned results, as sparse elements in an array still "take up space"

algolia/algoliasearch-helper-js#879
@codesandbox-ci
Copy link

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit ef870bd:

Sandbox Source
InstantSearch.js Configuration

@Haroenv
Copy link
Contributor Author

Haroenv commented Oct 26, 2021

done in #4936

@Haroenv Haroenv closed this Oct 26, 2021
@Haroenv Haroenv deleted the hotfix/facets branch October 26, 2021 08:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant