Downloads
Download tar.gz
15.19 KB
MD5: d719b815e7e66c4d92f0e7bac732661d
SHA-1: 88737389f13d8b2e187843c94569d9c77f3c5989
SHA-256: 211a33ed27d1112ba0d857fe2d48d4fdf0f42f86c8867d4a162646091ffc139b
Download zip
18.43 KB
MD5: e1a6813beb8c4dfea19871b1ad49fd87
SHA-1: b7471420afa225868528964933ad20531fe50e09
SHA-256: 37c4f2e924e37e24980023e8a6e64878f1d4e5f0e54eafdd05e89a023438105e
Release notes
Per the conversation on the devel thread, I'm creating new latest releases of several modules. This one has been stable for quite a long time...
- significantly faster than the previous fastsearch
- solves the multi-term join problem (5-6 term searches on large sites experienced slowness; plus mysql limits joins to 21 tables)
- fixes for OR and EXCLUDE terms
- added score field
- better score sorting, not perfect yet
- added search results view
To take advantage of the new searching, you should:
- ALTER TABLE search_index ENGINE=MyISAM; (you must do this yourself, but a warning is shown on admin/settings/search if this is not done)
- ALTER TABLE search_index ADD INDEX (fromsid, word); (now part of the update .install process).
- ALTER IGNORE TABLE search_index ADD UNIQUE INDEX (sid, word, type, fromsid); (see #143160, now part of the update .install process).
- admin/settings/search – select UNIQUE
- admin/settings/search – set the number of comments node rank to 0 (without which the performance results are not reproducable)
- apply the views subqueries patch - #143888
Thanks to Moshe for his ideas on the search HAVING clause (which is very similar to how core search does it) and for discovering ALTER IGNORE TABLE. And credit to Robert for pointing out that search_index had a dup problem in the first place.