ndmitchell / hoogle

Haskell API search engine
http://hoogle.haskell.org/
Other
753 stars 137 forks source link

A query term like *map inverts the sense of a query #15

Closed jwiegley closed 11 years ago

jwiegley commented 11 years ago

In particular, this causes all substring matches to come to the top, and exact matches to go the bottom. Useful if you can only remember one word that the function contained, but nothing else.

jwiegley commented 11 years ago

It works well with multiple query terms too, try a query like "*safe io" at the newartisans server.

ndmitchell commented 11 years ago

This would be much nicer if it was run against a proper SQL based DB with text search...

jwiegley commented 11 years ago

Wouldn't it though? :)

ndmitchell commented 11 years ago

To clarify, I wasn't being sarcastic, you have convinced me from a technical point of view.

jwiegley commented 11 years ago

Oh, I know, I got your very encouraging e-mail and this work is now on my list for after I get certain other priorities finished. I just meant by my comment about that I was in violent agreement. :)