aboutsummaryrefslogtreecommitdiff
path: root/mod/search
AgeCommit message (Collapse)Author
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-02-12Fixes #1512: Using a helper function for mb_parse_str() instead of wrapping ↵brettp
it exactly. git-svn-id: http://code.elgg.org/elgg/trunk@3934 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-02-09Correcting the corrected documentation.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3926 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-02-09Documentation correction in search.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3925 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-02-08Updated copyright for core plugin manifests.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3923 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-01-31Removing var_dump().brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3873 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-01-31Deprecated old search functions and views.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3872 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-01-20Fixing bugs in search that would break pagination.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3818 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-14Stripping slashes on output of original search query.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3811 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-01-14Allowing no table prefix in search_get_search_where_sql()brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3810 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-01-14Fixed incorrect order by for search sorting.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3809 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
2010-01-14Removed unnecessary view directories.brettp
Added option of overriding the default layout for search queries. Updated documentation reflecting those changes. Clarified some points in the documentation. git-svn-id: http://code.elgg.org/elgg/trunk@3807 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-01-12Cleaned up RSS entity view for search a bit.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3801 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-01-12Added phpdoc header to index.phpbrettp
Added RSS support to search. Nifty. git-svn-id: http://code.elgg.org/elgg/trunk@3800 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-01-11Fixed a few spelling mistakes.brettp
Added descriptions for the vars in 3.2 git-svn-id: http://code.elgg.org/elgg/trunk@3798 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-01-11Pulling out entity views in search.brettp
Adding dev documentation. git-svn-id: http://code.elgg.org/elgg/trunk@3795 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-12-03Removed pagination from top of results.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3719 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-12-02Search types without a subtype now display properly.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3717 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-12-02Changed avatar size to small in search results.brettp
Fixed a bug so comment owners' avatars show up instead of commented entity's owners' avatars. git-svn-id: http://code.elgg.org/elgg/trunk@3714 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-11-30Added pagination to comments view.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3712 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-30If a search result returns a user, make the icon be for the user and not the ↵brettp
owner (which is no one) git-svn-id: http://code.elgg.org/elgg/trunk@3710 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-11-30Listings use profile/icon view instead of calling icon directly.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3709 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-11-26search results view tweakeddave
git-svn-id: http://code.elgg.org/elgg/trunk@3708 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-11-16'More' links on serarch results moved, and link added to Tag resultspete
git-svn-id: http://code.elgg.org/elgg/trunk@3690 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-11-16Search UI cleaned uppete
git-svn-id: http://code.elgg.org/elgg/trunk@3689 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-11-16Fixed typo to display the type of search.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3688 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-11-15Added a missing elgg_strlen() in search_remove_ignored_words()brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3686 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-10Removing explicit MySQL 5.1-specific 'IN NATURAL LANGUAGE MODE' option.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3663 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-11-10elgg_extend_view() replaces extend_view()cash
git-svn-id: http://code.elgg.org/elgg/trunk@3661 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-11-10Sorting search contexts by longest related substring.brettp
Added more pretty highlight colors. git-svn-id: http://code.elgg.org/elgg/trunk@3659 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-11-10Fixed displaying of ...s in search.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3658 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-11-10I hate you search.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3657 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-11-10Missed an htmlspecialchars().brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3656 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-11-10Removed unneeded url_encode()s for links.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3655 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-11-10Underscores. grr.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3654 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-11-10Adjusted default context length to 500.brettp
Added url decoding to needle string. git-svn-id: http://code.elgg.org/elgg/trunk@3653 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-08Fixed the wrapper for comment listing.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3639 36083f99-b078-4883-b0ff-0f9b5a30f544