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_options ORs same-field values and ANDs everything else. (The deck-builder search box parses through boolean_query instead, which honors real cross-field OR and grouping.)

Parameters:
querystr

Search query string.

Returns:
parsedParsedQuery

The parsed terms, deduplicated in order.