1 This partial distribution contains a complete review of the
2 Global Search Engine of Moodle.
4 The Global Search Engine stores indexes about a huge quantity
5 of information from within modules, block or resources stored
6 by Moodle either in the database or the file system.
8 The administrator initialy indexes the existing content. Once this
9 first initialization performed, the search engine maintains indexes
10 regularily, adding new entries, deleting obsolete one or updating
11 some that have changed.
13 Search will produce links for acceding the information in a similar
14 context as usually accessed, from the current user point of view.
15 Results filtering removes from results any link to information the
16 current user would not be allowed to acces on a straight situation.
21 For setting the engine :
26 1. Add to Moodle's library both additional libraries provided in the distribution
27 2. Replace the "search" directory with the new one
28 3. Replace the "blocks/search" with the new one.
32 4. Browse to the administrative notification screen and let the
33 install/update process run. The install process creates the Moodle
34 table needed for backing the indexed documents identities.
36 5. Go to the block administration panel and setup once the Global Search
37 block. This will initialize useful parameters for the global search engine.
39 6. Insert a new Global Search block somewhere in a course or top-level screen.
41 7. Launch an empty search (you must be administrator).
43 8. Go to the statistics screen.
45 9. Activate indexation (indexersplash.php). Beware, if your Moodle has
46 a large amount of content, indexing process may be VERY LONG.
48 To search, go back to the search block and try a query.
50 Handled information for indexing
51 ################################
53 In the actual state, the engine indexes the following information:
56 - database records (using textual fields only)
59 - glossary comments on entries
60 - Moodle native resources
61 - physical MSWord files as resources (.doc)
62 - physical Powerpoint files as resources (.ppt)
63 - physical PDF files as resources
64 - physical text files as resources (.txt)
65 - physical html files as resources (.htm and .html)
66 - physical xml files as resources (.xml)
68 - techproject descriptions
74 The reviewed search engine API allows:
76 - indexing of blocks contents
77 - indexation of modules or blocks containing a complex information model
78 - securing the access to the results
79 - adding indexing handling adding a php calibrated script
80 - adding physical filetype handling adding a php calibrated script
85 - Should be added more information to index such as forum and glossary attachements, so will other standard module contents.
87 - extending the search capability to a mnet network information space.