Solved search - URL for search suggestions for Google and others?
-
When I set the search engine to bing and I enter some terms in the address bar, I get suggestions shown right there.
This doesn't happen when I select Google or my self hosted SearXNG to be the default search.
I guess I'd need an "URL für Suchvorschläge" (URL for search suggestions)?
-
@alexs77 See:
https://forum.vivaldi.net/search?term=searx
https://forum.vivaldi.net/topic/16991/guide-search-suggestion-urlThe one for SearX is kind of silly though, there's better ways.
I have:
URL:https://searxng.se/search
POST param:q=%S, safesearch=0
Suggest URL:https://searxng.se/autocompleter
Suggest POST param:q=%S, safesearch=0
This was mostly to test POST, if using GET it's much simpler of course - just look at the resulting URL and edit as required.
-
As far as I know, the search suggestions provided from the address bar are an internal function... Outside search providers aren't involved.
-
For Google, add this suggestion URL
https://www.google.com/complete/search?client=chrome&q=%s
-
@quivenda thanks. this did do the trick
Now I just need to find the correct URL or parameters for my SearXNG. Simply enabling JSON output format isn't enough.
-
@alexs77 See:
https://forum.vivaldi.net/search?term=searx
https://forum.vivaldi.net/topic/16991/guide-search-suggestion-urlThe one for SearX is kind of silly though, there's better ways.
I have:
URL:https://searxng.se/search
POST param:q=%S, safesearch=0
Suggest URL:https://searxng.se/autocompleter
Suggest POST param:q=%S, safesearch=0
This was mostly to test POST, if using GET it's much simpler of course - just look at the resulting URL and edit as required.
-
I've put some manual steps on https://www.reddit.com/r/Searx/comments/163ede9/search_suggestions_in_the_address_bar_of_vivaldi/
Works fine with GET.
I'd suggest to use:
Suggest POST param:
q=%S, safesearch=0, autocomplete=google
^^^^ "
autocomplete
" needs to be enabled. By default it's disabled insettings.yml
.
Found the solution with some help by unixfox on matrix chat.
Go to the start page of the SearXNG installation (in my case: https://searx.foobar.vip)
- View the source code and search for
type="application/opensearchdescription+xml" rel="search"
. For me, it would be at https://searx.foobar.vip/opensearch.xml?method=GET&autocomplete=google - "Download" that file and look for the URL in the line containing
rel="suggestions" type="application/x-suggestions+json"
This is the URL to use. In my case: https://searx.foobar.vip/autocompleter?q={searchTerms}
- View the source code and search for
-
Aalexs77 has marked this topic as solved on