Buckets:

download
raw
561 Bytes
"""Query optimizer for search queries."""
from dataclasses import dataclass
from enum import Enum
from typing import List, Optional
class QueryType(Enum):
"""Types of search queries."""
EXACT = "exact"
PHRASE = "phrase"
FUZZY = "fuzzy"
BOOLEAN = "boolean"
PROXIMITY = "proximity"
WILDCARD = "wildcard"
REGEX = "regex"
@dataclass
class Query:
"""Represents a parsed search query."""
raw_query: str
query_type: QueryType
terms: List[str]
filters: Optional[dict] = None
options: Optional[dict] = None

Xet Storage Details

Size:
561 Bytes
·
Xet hash:
02127c3248832847fc76e30c5172fbe66449000eb48b077ba00ec4349efc5f6e

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.