Suggestion Results

Back to top

Hint

There is still no typing for these result items. The templates can be used as orientation until the final typing is complete.

The area suggestions shows the user alternative search terms.

A result of this type is a very simple dictionary with only one key/value pair

{"suggestion" : "lorem ipsum .."}

From this simple dict another dict is build up:

{"url" : "!bang lorem ipsum ..", "title": "lorem ipsum" }

and used in the template :

## use RawTextQuery to get the suggestion URLs with the same bang
{"url" : "!bang lorem ipsum ..", "title": "lorem ipsum" }

titlestr : Suggested search term

urlstr : Not really an URL, its the value to insert in a HTML form for a SearXNG query.

Copyright © SearXNG team

Made with Furo

💾 🌐