aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-02-17 15:13:31 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-02-17 15:13:31 +0000
commit287ea7790c170e4f5c13c721e759f1a37ed5ef02 (patch)
tree602b5aa8edb3dd3d1d74eede2672a4643f00316d
parent5dabb62d678b8a3db4ea8600916fd95225e0ddf6 (diff)
downloadelgg-287ea7790c170e4f5c13c721e759f1a37ed5ef02.tar.gz
elgg-287ea7790c170e4f5c13c721e759f1a37ed5ef02.tar.bz2
Updated docs for search.
git-svn-id: http://code.elgg.org/elgg/trunk@3944 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r--mod/search/README.txt21
1 files changed, 20 insertions, 1 deletions
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