Fixing dub search

Ola Fosheim Grøstad ola.fosheim.grostad at gmail.com
Tue Dec 29 23:17:33 UTC 2020


On Tuesday, 29 December 2020 at 22:53:55 UTC, bachmeier wrote:
> sqlite was the first thing I thought about when I saw this 
> thread. How much data would have to be copied into an sqlite 
> database for searching of packages? That has the advantage of 
> more or less no dependencies, dead simple to add, claimed good 
> results...

I'm not being dismissive (I also don't use Dub), but in general 
this would not scale very well. Unless you want to do all 
searches locally. Also, a high quality search engine requires 
custom ranking, so not really sure if it is overall less work 
than rolling your own if you want high quality search results. 
The text corpus is tiny, so there is really no point in using a 
generic on-disk solution?



More information about the Digitalmars-d mailing list