I propose a general scheme that would cover all variables
For booleans:
variablename:on|off
For multiple selection:
variablename:value1|value2|...
For each variable, support both a long and a short (abbreviated) name
In general, try to keep the syntax & naming consistent with what users see in the GUI
time / t : all|day|week|month|year
region / r : <region iso code>
lens / l : <lens name>
Verbatim could be done in two ways:
verbatim / v : on|off
OR
results / res : verbatim|all
The second is consistent with the GUI but I prefer the first because it's simpler and because region and results both start with "re".
Also I would like to see
from : yy/mm/dd
to : yy/mm/dd
This conflicts with time
, so if a user includes time
then from
and to
should be ignored
I personally don't think it's necessary to support results ordering or parameters for image & video searches. The GUI seems appropriate for them. But if someone has a use case you could extend this naming scheme.
I would like a way to trigger an image, video or news search from the search query. I think a bang is appropriate for that because it's analogous to selecting a search engine
!images
!videos
!news
I have checked and none of these currently have a mapping in DDG