Fast full-text searching in Python (job for Whoosh?)

rbowman bowman at montana.com
Mon Mar 6 10:52:28 EST 2023


On Mon, 6 Mar 2023 07:40:29 -0500, Dino wrote:

> The idea that someone types into an input field and matches start
> dancing in the browser made me think that this was exactly what I
> needed, and hence I figured that asking here about Whoosh would be a
> good idea. I know realize that Whoosh would be overkill for my use-case,
> as a simple (case insensitive) query substring would get me 90% of what
> I want. Speed is in the order of a few milliseconds out of the box,
> which is chump change in the context of a web UI.

For a web application the round trips to the server for the next set of 
suggestions swamp out the actual lookups. Use the developer console in 
your browser to look at the network traffic and you'll see it's busy.


More information about the Python-list mailing list