Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

suggestion api #434

Closed
david-gang opened this Issue · 6 comments

4 participants

@david-gang

Hi all,

This site looks great.
In order to write a search plugin with auto complete for firefox, a suggestion api is needed, which returns a json. Could this be done?

Thanks,
David

@rwstauner
Owner

do you have an example of what needs to be returned?

@david-gang

For example in wikipedia
http://en.wikipedia.org/w/api.php?action=opensearch&search=perl
returns
["perl",["Perl","Perlis","Perlis FA","Perlite","Perl 6","Perleberg","Perlino","Perl Compatible Regular Expressions","Perl module","Perla Beltr\u00e1n"]]

@david-gang

I think not.
It has to be in the format described in the following link:
https://developer.mozilla.org/en/Supporting_search_suggestions_in_search_plugins

@david-gang david-gang closed this
@oalders
Owner

@david-gang what's the use case for this?

@david-gang

It would be nice to have it as a part of a firefox search plugin.
Then if on the right edgt at the top, you type a query, you will get an autocomplete list.
It has to be in the format described here https://developer.mozilla.org/en/Supporting_search_suggestions_in_search_plugins
I don't know how to explain the use case better.
I need some api where i get autocomplete results

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.