|
.oO SearXNG Developer Documentation Oo.
|
Classes | |
| class | types |
Public Member Functions | |
| __init__ (self) | |
| add (self, Result|LegacyResult result) | |
| Public Member Functions inherited from searx.result_types._base.Result | |
| normalize_result_fields (self) | |
| __post_init__ (self) | |
| filter_urls (self, "Callable[[Result | LegacyResult, str, str], str | bool]" filter_func) | |
| int | __hash__ (self) |
| __eq__ (self, object other) | |
| __setitem__ (self, str field_name, t.Any value) | |
| t.Any | __getitem__ (self, str field_name) |
| __iter__ (self) | |
| as_dict (self) | |
| defaults_from (self, "Result" other) | |
| Public Member Functions inherited from searx.result_types._base.LegacyResult | |
| as_dict (self) | |
| __init__ (self, *t.Any args, **t.Any kwargs) | |
| t.Any | __getattr__ (self, str name, t.Any default=UNSET) |
| __setattr__ (self, str name, t.Any val) | |
| int | __hash__ (self) |
| __eq__ (self, object other) | |
| str | __repr__ (self) |
| normalize_result_fields (self) | |
| defaults_from (self, "LegacyResult" other) | |
| filter_urls (self, "Callable[[Result | LegacyResult, str, str], str | bool]" filter_func) | |
Additional Inherited Members | |
| Public Attributes inherited from searx.result_types._base.LegacyResult | |
| str | template = "answer/legacy.html" |
| engine | |
| Static Public Attributes inherited from searx.result_types._base.Result | |
| str | url = None |
| str | template = "default.html" |
| str | engine = "" |
| urllib | parsed_url = None |
| Static Public Attributes inherited from searx.result_types._base.LegacyResult | |
| object | UNSET = object() |
| str | url | None |
| urllib | parsed_url .parse.ParseResult | None |
| t | priority .Literal["", "high", "low"] |
| set | engines [str] |
| list | positions [int] |
| datetime | publishedDate .datetime | None |
| str | pubdate = "" |
| list | urls [dict[str, str]] |
| list | attributes [dict[str, str]] |
Base class of all result lists (abstract).
Definition at line 38 of file __init__.py.
| searx.result_types.ResultList.__init__ | ( | self | ) |
Definition at line 58 of file __init__.py.
References __init__().
Referenced by __init__().
| searx.result_types.ResultList.add | ( | self, | |
| Result | LegacyResult | result ) |
Add a :py:`Result` item to the result list.
Definition at line 62 of file __init__.py.