agrynchuk / noodle-ng

Automatically exported from code.google.com/p/noodle-ng
GNU General Public License v3.0
0 stars 0 forks source link

Fulltext search is painfully slow #38

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Currently we use a construct like "like %str%" to do a fulltext search on the 
name field in the shares table which makes it awfully slow.

We should either implement the db engine specific match function or think about 
creating an index for fulltext search. Since sqlalchemy does not provide us 
with a generic interface to do a match clause and some db engines do not even 
support fulltext search I suggest implementing a seperate index for it. One 
solution might be to utilize Whoosh 
(https://bitbucket.org/mchaput/whoosh/wiki/Home).

Original issue reported on code.google.com by hbwint...@gmail.com on 5 Aug 2011 at 8:52