search_query.query_near

NEAR Query

Classes

NEARQuery(value, children, *[, ...])

NEAR Query

class search_query.query_near.NEARQuery(value: str, children: List[str | Query], *, search_field: SearchField | str | None = None, position: Tuple[int, int] | None = None, distance: int, platform: str = 'generic')

Bases: Query

NEAR Query

property children: List[Query]

Children property.

property distance: int | None

Distance property.

selects_record(record_dict: dict) bool

Check if the record matches the NEAR query.