summaryrefslogtreecommitdiff
path: root/docs/src/searx.search.rst
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarIT.de>2021-09-10 09:20:26 +0000
committerGitHub <noreply@github.com>2021-09-10 09:20:26 +0000
commitb671e0364fbfb09701fb675ba23a7d7bebbcf744 (patch)
tree5cc14908449328de044464fbccb4950d08632a99 /docs/src/searx.search.rst
parent449ff708985b86c85a4badc8494a577c792c4dd7 (diff)
parent0b27c8698f7b5bbca5083cf234fabbc7d7308349 (diff)
downloadsearxng-b671e0364fbfb09701fb675ba23a7d7bebbcf744.tar.gz
searxng-b671e0364fbfb09701fb675ba23a7d7bebbcf744.zip
Merge pull request #302 from dalf/mod_plugin_on_result
[mod] plugin: call on_result for each result of each engines.
Diffstat (limited to 'docs/src/searx.search.rst')
-rw-r--r--docs/src/searx.search.rst38
1 files changed, 38 insertions, 0 deletions
diff --git a/docs/src/searx.search.rst b/docs/src/searx.search.rst
new file mode 100644
index 000000000..ad76d4183
--- /dev/null
+++ b/docs/src/searx.search.rst
@@ -0,0 +1,38 @@
+.. _searx.search:
+
+======
+Search
+======
+
+.. autoclass:: searx.search.EngineRef
+ :members:
+
+.. autoclass:: searx.search.SearchQuery
+ :members:
+
+.. autoclass:: searx.search.Search
+
+ .. attribute:: search_query
+ :type: searx.search.SearchQuery
+
+ .. attribute:: result_container
+ :type: searx.results.ResultContainer
+
+ .. automethod:: search() -> searx.results.ResultContainer
+
+.. autoclass:: searx.search.SearchWithPlugins
+ :members:
+
+ .. attribute:: search_query
+ :type: searx.search.SearchQuery
+
+ .. attribute:: result_container
+ :type: searx.results.ResultContainer
+
+ .. attribute:: ordered_plugin_list
+ :type: typing.List
+
+ .. attribute:: request
+ :type: flask.request
+
+ .. automethod:: search() -> searx.results.ResultContainer