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

Closed
moollaza opened this Issue Aug 10, 2012 · 3 comments

Projects

None yet

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
Member
monken commented Aug 11, 2012

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
Member
ranguard commented Jul 8, 2013

Marking as resolved as no further feedback

@ranguard ranguard closed this Jul 8, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment