Skip to content

Prefilter is confusing #30

Description

@domoritz

I'm very confused by the prefiltering method and would appreciate your help and some improvements to the docs.

  • The grammar is odd. What does it mean to make something prefiltering?
  • The function is not valid js.
  • itemsjs.prefilter is also not defined

It is making items prefiltering before search or aggregation, i.e.:

itemsjs.prefilter(items) {
  return items.filter(item => {
    return item.price > 100;
  });
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions