aboutsummaryrefslogtreecommitdiff
path: root/mod/search/search_hooks.php
AgeCommit message (Collapse)Author
2009-11-30Removed tag search listing.brettp
Added ability to provide extra info in searches as 'search_matched_extra'. Allowing overrides for titles. git-svn-id: http://code.elgg.org/elgg/trunk@3711 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-11-15Search changes.brettp
Fixes #1376: Only fetching ft_min_word_length if the query != false. Using IN BOOLEAN MODE for metadata search (comments, tags) to avoid a fulltext index on the metastrings table. Slower for search, faster for site. Simplified and modularized logic for pulling out relevant substrings and highlighting. Corrected the elipse oddities in relevancy substring concatenation. Added pagination on non-homepages. Added missing language strings. Updated and standardized comment results listings. Repeat query in searchbar. Dealing with comments on unavailable entities better (though not well). Increased default word context to 30 characters. Decreased default context max length to 300 characters. Promise to start making atomic commits real soon now. git-svn-id: http://code.elgg.org/elgg/trunk@3684 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-11-10Trying out the new context grabbing function in search.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3652 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-11-09For real this time.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3648 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-11-09Sanitising string on tag search.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3647 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-11-09Sanitising strings to avoid sql insertion hacks.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3646 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-11-09Updated search to allow filtering of results by clicking on submenu items.brettp
Fixes #1358: Using raw mysql_query() / fetch() to get ft_min/max vars since they aren't set on some versions of MySQL. git-svn-id: http://code.elgg.org/elgg/trunk@3645 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-11-08No more hasty commits--Fixing a var_dump() left in.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3638 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-11-08Added super-basic support for searching comments.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3636 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-11-07Reverted groups and users to LIKE instead of MATCH AGAINST.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3634 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-11-07Moved default search hooks into search mod.brettp
Using MySQL's MATCH ... AGAINST instead of likes for most searches. Changed 'tag' to 'q' while maintaining backward compatibility. git-svn-id: http://code.elgg.org/elgg/trunk@3633 36083f99-b078-4883-b0ff-0f9b5a30f544