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

Limit are not applied to string facet #561

Open
davidsoderberg opened this issue Dec 3, 2023 · 1 comment
Open

Limit are not applied to string facet #561

davidsoderberg opened this issue Dec 3, 2023 · 1 comment

Comments

@davidsoderberg
Copy link

Describe the bug

When I try to use following settings for a string facet:

{
      size: 175,
      limit: 200,
      order: 'DESC',
}

I only get 10 as the default limit is.

To Reproduce

  1. Create a orama instance with a string field with value that have over 10 different values.
  2. try to get more than 10 face values for that field.
  3. You will only get 10 even if asked for more

Expected behavior

That I get the amount of facet strings I expected

Environment Info

OS: MacOS 12.2.1
Node: 18.16.0
Orama: 2.0.0-beta.7

Affected areas

Search

Additional context

No response

@davidsoderberg davidsoderberg changed the title Limit and size are not for string facet Limit and size are not applied to string facet Dec 3, 2023
@davidsoderberg davidsoderberg changed the title Limit and size are not applied to string facet Limit are not applied to string facet Dec 3, 2023
@micheleriva
Copy link
Member

Thanks for opening this! We'll work on a fix

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

No branches or pull requests

2 participants