yasuki_core.search.parse_search.parse_search_query#
- parse_search_query(query)[source]#
Parse a search query string into a flat, deduplicated list of terms.
Bare boolean keywords (AND/OR/NOT) are stripped; combining logic lives downstream, where
build_filter_optionsORs same-field values and ANDs everything else. (The deck-builder search box parses throughboolean_queryinstead, which honors real cross-field OR and grouping.)- Parameters:
- query
str Search query string.
- query
- Returns:
- parsed
ParsedQuery The parsed terms, deduplicated in order.
- parsed