Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
pulp::runtime::SearchQueryOptions Struct Reference

#include <search_index.hpp>

Public Attributes

std::size_t max_results = 0
 Cap on the number of matches returned. 0 means unlimited.
bool fuzzy = true
 Allow non-contiguous subsequence ("fuzzy") matches.
bool case_sensitive = false
 Match with ASCII case sensitivity. Defaults to case-insensitive.

Member Data Documentation

◆ case_sensitive

bool pulp::runtime::SearchQueryOptions::case_sensitive = false

Match with ASCII case sensitivity. Defaults to case-insensitive.

◆ fuzzy

bool pulp::runtime::SearchQueryOptions::fuzzy = true

Allow non-contiguous subsequence ("fuzzy") matches.

When false, an item must contain the query as a contiguous substring to match.

◆ max_results

std::size_t pulp::runtime::SearchQueryOptions::max_results = 0

Cap on the number of matches returned. 0 means unlimited.


The documentation for this struct was generated from the following file:
  • /home/runner/work/pulp/pulp/core/runtime/include/pulp/runtime/search_index.hpp