Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Missing Search Endpoint - Nothing similar to the Site Search #221

Closed
moollaza opened this Issue · 3 comments

3 participants

@moollaza

I've had a look at the search API (specifically for the use of a DuckDuckGo search plugin) however I noticed that none of the endpoints seem to give me the information I'm looking for.

I think there needs to be an endpoint which mimics the site search in that it should return a list of possible matches (and it would be great if it also had their relevant info as well (eg. Author, Version, Description)

A search for "moose" on most endpoints doesn't return the same information as the module endpoint of the api does.
This information: http://api.metacpan.org/v0/module/Moose is much better than any of the results here:

http://api.metacpan.org/v0/module/_search?q=Moose
http://api.metacpan.org/v0/distribution/_search?q=Moose
http://api.metacpan.org/v0/_search?q=Moose

I hope I'm making sense, please let me know if you need clarification.

@monken
Owner

Have you tried the autocomplete API? http://api.metacpan.org/v0/search/autocomplete?q=Moose
It's the closest you get to the search results on metacpan.org

@moollaza

@monken no I hadn't, thanks for pointing it out. I'll have a look...

@ranguard
Owner

Marking as resolved as no further feedback

@ranguard ranguard closed this
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.