Downloads

Download views_fastsearch-5.x-2.x-dev.tar.gztar.gz 13.91 KB
MD5: ebfcab7505b485eea0416c7e7284c8b2
SHA-1: 3d45a7934c1370250fd9b7c7b682d56a4fc82916
SHA-256: e47032f8643d1c717187acb738b6a3a3fb69ae8f8729dee0b117cca08653be73
Download views_fastsearch-5.x-2.x-dev.zipzip 15.17 KB
MD5: 95985a346615b2a843064e4842d5b8e7
SHA-1: e053828ad19f5c54b8e4111bf06f9d51a635b76e
SHA-256: ed0a6b09da2f5a62149b2423716e05ffd14a87969a50f3bfcf149e3888cc2ab3

Release notes

  • 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:

  1. 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)
  2. ALTER TABLE search_index ADD INDEX (fromsid, word); (now part of the update .install process).
  3. ALTER IGNORE TABLE search_index ADD UNIQUE INDEX (sid, word, type, fromsid); (see #143160, now part of the update .install process).
  4. admin/settings/search – select UNIQUE
  5. admin/settings/search – set the number of comments node rank to 0 (without which the performance results are not reproducable)
  6. 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.

Created by: douggreen
Created on: 11 Aug 2007 at 04:33 UTC
Last updated: 4 Feb 2008 at 13:29 UTC

Other releases