Skip to content

Commit

Permalink
Merge pull request #247 from tharropoulos/add-facet-strat
Browse files Browse the repository at this point in the history
Add facet strategy to search params interface
  • Loading branch information
jasonbosco authored Nov 18, 2024
2 parents c5aaa36 + 90dc5d4 commit 8baab7a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Typesense/Documents.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ export interface SearchParams {
facet_query?: string;
facet_query_num_typos?: number;
facet_return_parent?: string;
facet_strategy?: "exhaustive" | "top_values" | "automatic";
page?: number; // default: 1
per_page?: number; // default: 10, max 250
group_by?: string | string[];
Expand Down

0 comments on commit 8baab7a

Please sign in to comment.