mirror of
https://github.com/searxng/searxng
synced 2024-01-01 19:24:07 +01:00
Remove RawTextQuery.changeQuery in favor of getNewFullQuery
Also includes the following: - Introduce typing in RawTextQuery - Remove an outdated description based on the change - Refactor setting the autocomplete_location, its more clear to set the variable in the construct instead of within the method - Update unit tests to reflect the new method rephrasing format undo change
This commit is contained in:
parent
f5eb56b63f
commit
81f0cb01e8
4 changed files with 39 additions and 25 deletions
|
|
@ -144,6 +144,7 @@ class EngineProcessor(ABC):
|
|||
- A page-number > 1 when engine does not support paging.
|
||||
- A time range when the engine does not support time range.
|
||||
"""
|
||||
|
||||
# if paging is not supported, skip
|
||||
if search_query.pageno > 1 and not self.engine.paging:
|
||||
return None
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue