From 287ea7790c170e4f5c13c721e759f1a37ed5ef02 Mon Sep 17 00:00:00 2001 From: brettp Date: Wed, 17 Feb 2010 15:13:31 +0000 Subject: Updated docs for search. git-svn-id: http://code.elgg.org/elgg/trunk@3944 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/search/README.txt | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/mod/search/README.txt b/mod/search/README.txt index 72172e073..fe87f3334 100644 --- a/mod/search/README.txt +++ b/mod/search/README.txt @@ -1,5 +1,18 @@ Full text search developer's reference. +CONTENTS: + 1. Overview + 2. Search and Custom Plugins + 3. Controlling Search Results + 3.1 Entities Returned + 3.2 Custom Search + 4. Controlling Search Views + 4.1 Entities + 4.2 Listing + 4.3 Layout + 5. Hints and Quirks + + 1. OVERVIEW * All entities are searched through title and description using @@ -222,7 +235,7 @@ Full text search developer's reference. views/default/search/mysearch/layout.php -4. HINTS +5. HINTS AND QUIRKS * Use search_get_relevant_substring() to extract and highlight relevant substrings for the search_match_title and description. @@ -241,3 +254,9 @@ Full text search developer's reference. 'count' => $count, 'entities' => array($entity) ); + + * MySQL's fulltext engine returns *ZERO* rows if more than 50% of + the rows searched match. + + * The default search hooks for users and groups ignore subtypes. + See http://trac.elgg.org/elgg/ticket/1499 -- cgit v1.2.3