mirror of
https://github.com/flancian/garden.git
synced 2026-08-07 06:56:19 +00:00
Auto: misc.
This commit is contained in:
+3
-1
@@ -22,10 +22,11 @@
|
||||
## Design
|
||||
- In [[agora server]], `/search` / `/exec` does the following:
|
||||
- It takes a query string in argument 'q' (sort of standard).
|
||||
- It optionally tokenizes the query string (unsuere if this is the right stage for tokenizing)
|
||||
- It optionally tokenizes the query string (unsure if this is the right stage for tokenizing, or tokenization should be done ad-hoc by search providers to allow for domain-specific tweaks).
|
||||
- It offers the query string or the tokens to [[search providers]], essentially hooks that the volunteer actions -- or perhaps bid in a distributed system modelled as a market (later).
|
||||
- It scores the alternatives and either chooses one for the user (based on programmable rules) or presents them as alternatives.
|
||||
- The default action is 'redirect to the agora node matching/encoding the query'.
|
||||
- Also supported currently: [[go]], which redirects immediately to a go link if present in the parameter node.
|
||||
|
||||
|
||||
[//begin]: # "Autogenerated link references for markdown compatibility"
|
||||
@@ -42,4 +43,5 @@
|
||||
[open]: open "Open"
|
||||
[pull]: pull "Pull"
|
||||
[yubnub]: yubnub "Yubnub"
|
||||
[go]: go "Go"
|
||||
[//end]: # "Autogenerated link references"
|
||||
Reference in New Issue
Block a user