Thread overview
dpldocs now has cross-package search (experimental)
Mar 10, 2018
Adam D. Ruppe
Mar 10, 2018
Andre Pany
Mar 10, 2018
Nordlöw
Mar 10, 2018
Adam D. Ruppe
Mar 10, 2018
Adam D. Ruppe
Mar 12, 2018
Adam D. Ruppe
March 10, 2018
Looking for http libs? Behold:

http://search.dpldocs.info/?q=http


Oh my. Eats 2 GB of ram but with the newest patrons <https://www.patreon.com/adam_d_ruppe> I sprung for the beefier host. Only searches projects already on the site as of the beginning of each day (it loads what has already been generated, it doesn't seek to generate more at this time).

It loads one of my own deprecated modules as the top result. lol, it could still use some work. But it is started now.
March 10, 2018
On Saturday, 10 March 2018 at 00:09:18 UTC, Adam D. Ruppe wrote:
> Looking for http libs? Behold:
>
> http://search.dpldocs.info/?q=http
>
>
> Oh my. Eats 2 GB of ram but with the newest patrons <https://www.patreon.com/adam_d_ruppe> I sprung for the beefier host. Only searches projects already on the site as of the beginning of each day (it loads what has already been generated, it doesn't seek to generate more at this time).
>
> It loads one of my own deprecated modules as the top result. lol, it could still use some work. But it is started now.

That is so great. Thanks.

A little feature request. Could you group the found modules by dub package. Then the same license information can be shown once per dub package.

Kind regards
André
March 10, 2018
On Saturday, 10 March 2018 at 00:09:18 UTC, Adam D. Ruppe wrote:
> Looking for http libs? Behold:
>
> http://search.dpldocs.info/?q=http

Nice!
March 10, 2018
On Saturday, 10 March 2018 at 00:09:18 UTC, Adam D. Ruppe wrote:
> Looking for http libs? Behold:
>
> http://search.dpldocs.info/?q=http
>
>
> Oh my. Eats 2 GB of ram but with the newest patrons <https://www.patreon.com/adam_d_ruppe> I sprung for the beefier host. Only searches projects already on the site as of the beginning of each day (it loads what has already been generated, it doesn't seek to generate more at this time).
>
> It loads one of my own deprecated modules as the top result. lol, it could still use some work. But it is started now.

Cool, and if you are in the mood of using only arsd, for example find an example for a trigger on mouse request:
http://search.dpldocs.info/search-docs.html?searchTerm=arsd+mouse

March 10, 2018
On Saturday, 10 March 2018 at 16:03:39 UTC, Martin Tschierschke wrote:
> Cool, and if you are in the mood of using only arsd, for example find an example for a trigger on mouse request:
> http://search.dpldocs.info/search-docs.html?searchTerm=arsd+mouse

Yup.

You can also search inside a particular package/version by going to it and using the upper right search box there.

http://arsd-official.dpldocs.info/v2.0.0/search-results.html#!mouse

for example will just search v2.0.0 of the arsd-official package.


and i just hit a huge module on my thing:
core.exception.OutOfMemoryError@core/exception.d(702): Memory allocation failed

uh oh, the search went up to 3.2 GB now. That shouldn't have happened - even the beefier hardware can't support all that!

So I still need to do some more optimizations before promoting this from "experimental" but we'll get there.
March 10, 2018
On Saturday, 10 March 2018 at 16:35:56 UTC, Adam D. Ruppe wrote:
> On Saturday, 10 March 2018 at 16:03:39 UTC, Martin Tschierschke wrote:
>> Cool, and if you are in the mood of using only arsd, for example find an example for a trigger on mouse request:
>> http://search.dpldocs.info/search-docs.html?searchTerm=arsd+mouse
>
> Yup.
>
> You can also search inside a particular package/version by going to it and using the upper right search box there.
>
> http://arsd-official.dpldocs.info/v2.0.0/search-results.html#!mouse
>
> for example will just search v2.0.0 of the arsd-official package.
>
>
There is a bug, I just tried "mouse event" in the search box and got a strange result.
March 10, 2018
On Saturday, 10 March 2018 at 16:49:44 UTC, Martin Tschierschke wrote:
> There is a bug, I just tried "mouse event" in the search box and got a strange result.

oh yikes a recursive javascript redirect. fixed that.

The search still kinda sucks, but it is better than nothing. If you put in a full name, it should be the first result. Otherwise, it tries a full text search that is a bit spotty.
March 12, 2018
I probably released this a bit too soon... it seems to have a memory leak and eventually pushes all other server functions out if I leave it running.

So I took the search back down for now until I can debug that, or maybe just rewrite the program to something fundamentally more memory-efficient.