aboutsummaryrefslogtreecommitdiff
path: root/mod/search/search_hooks.php
AgeCommit message (Collapse)Author
2013-07-05Fixes #5708 search supports multiple comments on the same entitycash
2013-03-30Fixes #5037 returns free text search and relevance ranking for objects and ↵cash
groups
2013-03-30Fixes #5304 handling metadata arrays in search for user profile datacash
2013-02-01Merge pull request #482 from Srokap/ticket_2554Cash Costello
Fixes #2554 - Adds search support for sorting and order
2013-01-02Fixes #2212. Added profile fields to the user search.Brett Profitt
2012-12-31Fixes #2554 - Adds search support for sorting and orderPaweł Sroka
2012-02-25Fixes #3550. Merged slightly modified pull request 166 from sembrestels.Brett Profitt
2011-10-29Refs #3983 merged fix into mastercash
2011-09-04Refs #3661. Merged XSS fixes in search to master.Brett Profitt
2011-04-02Refs #2994 added group search fix from 1.7 branch to trunkcash
git-svn-id: http://code.elgg.org/elgg/trunk@8916 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-19removed $CONFIG usage in search hookscash
git-svn-id: http://code.elgg.org/elgg/trunk@8308 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-10-22Removed @license, @copyright, and @author from files. License and copyright ↵brettp
are covered by LICENSE.txt and COPYRIGHT.txt in root. git-svn-id: http://code.elgg.org/elgg/trunk@7118 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-08-21Merged r6534-6559 from 1.7 branch to trunkcash
git-svn-id: http://code.elgg.org/elgg/trunk@6840 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-04-19Merged previous to trunk.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@5803 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-04-16Merged [5623]:head from 1.7 to trunk.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@5760 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-04-05Merged 5605:5622 from 1.7 to trunk.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@5623 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-03-12Merged Cash's bugfixes from the 1.7 branch (3288:5377).brettp
git-svn-id: http://code.elgg.org/elgg/trunk@5378 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-03-02Updated the the default search entity view to check for users and groups and ↵brettp
properly display their profile icons. git-svn-id: http://code.elgg.org/elgg/trunk@3983 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-02-20Fixes #1523: Updated search to use ELGG_ENTITIES_NO_VALUE/ANY_VALUE and ↵brettp
removed some commented out code. git-svn-id: http://code.elgg.org/elgg/trunk@3956 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-02-17Fixes #1499: User and group search default to ignoring subtypes to return ↵brettp
all entities. git-svn-id: http://code.elgg.org/elgg/trunk@3942 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-02-16Not using elgg_get_entities_from_metadata() for tag search because of ↵brettp
performance issues. Switched to custom WHERE / JOINs with elgg_get_entities(). git-svn-id: http://code.elgg.org/elgg/trunk@3940 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-02-13Cleaned up tag searching so you can search on a specific tag. Useful in ↵brettp
search so a tag in "Things I like" won't match a tag in "Things I hate." git-svn-id: http://code.elgg.org/elgg/trunk@3938 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-02-12Closes #1506: Added elgg_register_tag_metadata_name(), ↵brettp
elgg_get_registered_tag_metadata_names(), and ElggEntity::getTags(). Search on tags updated to use registered tag names instead of hard-coded 'tags' metadata name. git-svn-id: http://code.elgg.org/elgg/trunk@3936 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-01-15Removing order by clause for now in search.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3813 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-01-14Fixed an incorrect var name that caused a bug when hooking against a type ↵brettp
but not a subtype. Added first pass at results sorting. git-svn-id: http://code.elgg.org/elgg/trunk@3808 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-12-03Stripping tags to remove HTML on title and description for comment search.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3722 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-12-03Removed a line breaking description for comments in search.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3721 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-12-03Comments' search hook now correctly trims description and title.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3720 36083f99-b078-4883-b0ff-0f9b5a30f544
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