mirror of https://github.com/searxng/searxng.git
add possible values of time_range param
This commit is contained in:
parent
2fded299c1
commit
daf736f1dd
|
@ -16,18 +16,18 @@ Furthermore, two enpoints ``/`` and ``/search`` are available for querying.
|
||||||
Parameters
|
Parameters
|
||||||
``````````
|
``````````
|
||||||
|
|
||||||
+------------------+----------------------------------------------------------------------------------------------------+-----------------------------+
|
+------------------+----------------------------------------------------------------------------------------------------+--------------------------------------------------+
|
||||||
| Name | Description | |
|
| Name | Description | |
|
||||||
+==================+====================================================================================================+=============================+
|
+==================+====================================================================================================+==================================================+
|
||||||
| ``q`` | The search query, see :doc:`/user/search_syntax` | required |
|
| ``q`` | The search query, see :doc:`/user/search_syntax` | required |
|
||||||
+------------------+----------------------------------------------------------------------------------------------------+-----------------------------+
|
+------------------+----------------------------------------------------------------------------------------------------+--------------------------------------------------+
|
||||||
| ``categories`` | Comma separated list, specifies the active search categories | optional |
|
| ``categories`` | Comma separated list, specifies the active search categories | optional |
|
||||||
+------------------+----------------------------------------------------------------------------------------------------+-----------------------------+
|
+------------------+----------------------------------------------------------------------------------------------------+--------------------------------------------------+
|
||||||
| ``engines`` | Comma separated list, specifies the active search engines | optional |
|
| ``engines`` | Comma separated list, specifies the active search engines | optional |
|
||||||
+------------------+----------------------------------------------------------------------------------------------------+-----------------------------+
|
+------------------+----------------------------------------------------------------------------------------------------+--------------------------------------------------+
|
||||||
| ``lang`` | Code of the language | optional (default: ``all``) |
|
| ``lang`` | Code of the language | optional (default: ``all``) |
|
||||||
+------------------+----------------------------------------------------------------------------------------------------+-----------------------------+
|
+------------------+----------------------------------------------------------------------------------------------------+--------------------------------------------------+
|
||||||
| ``pageno`` | Search page number | optional (default: ``1``) |
|
| ``pageno`` | Search page number | optional (default: ``1``) |
|
||||||
+------------------+----------------------------------------------------------------------------------------------------+-----------------------------+
|
+------------------+----------------------------------------------------------------------------------------------------+--------------------------------------------------+
|
||||||
| ``time_range`` | Time range of search | optional |
|
| ``time_range`` | Time range of search | optional (possible: ``day``, ``month``, ``year``)|
|
||||||
+------------------+----------------------------------------------------------------------------------------------------+-----------------------------+
|
+------------------+----------------------------------------------------------------------------------------------------+--------------------------------------------------+
|
||||||
|
|
Loading…
Reference in New Issue