forked from moodle/moodle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README.txt
85 lines (63 loc) · 3.03 KB
/
README.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
This directoery contains the central implementation of
Moodle's Global Search Engine.
The Global Search Engine stores indexes about a huge quantity
of information from within modules, block or resources stored
by Moodle either in the database or the file system.
The administrator initialy indexes the existing content. Once this
first initialization performed, the search engine maintains indexes
regularily, adding new entries, deleting obsolete one or updating
some that have changed.
Search will produce links for acceding the information in a similar
context as usually accessed, from the current user point of view.
Results filtering removes from results any link to information the
current user would not be allowed to acces on a straight situation.
Deployement
###########
The search engine is now part of Moodle core distribution.
Some extra libraries might be added for converting physical documents to text
so it can be indexed. Moodle CVS (entry contrib/patches/global_search_libraries)
provides packs for antiword and xpdf GPL libraries the search engine is ready for
shockwave indexing, but will not provide Adobe Search converters that should be
obtained at http://www.adobe.com/licensing/developer/
1. Go to the block administration panel and setup once the Global Search
block. This will initialize useful parameters for the global search engine.
2. Insert a new Global Search block somewhere in a course or top-level screen.
3. Launch an empty search (you must be administrator).
4. Go to the statistics screen.
5. Activate indexation (indexersplash.php). Beware, if your Moodle has
a large amount of content, indexing process may be VERY LONG.
To search, go back to the search block and try a query.
Handled information for indexing
################################
In the actual state, the engine indexes the following information:
- assignment descriptions
- forum posts
- database records (using textual fields only)
- database comments
- glossary entries
- glossary comments on entries
- Moodle native resources
- physical MSWord files as resources (.doc)
- physical Powerpoint files as resources (.ppt)
- physical PDF files as resources
- physical text files as resources (.txt)
- physical html files as resources (.htm and .html)
- physical xml files as resources (.xml)
- wiki pages
- chat sessions
- lesson pages
Some third party plugins are also searchable using the new Search API implementation
- Techproject
Extensions
##########
The reviewed search engine API allows:
- indexing of blocks contents
- indexation of modules or blocks containing a complex information model
- securing the access to the results
- adding indexing handling for additional modules and plugins adding a php calibrated script
- adding physical filetype handling adding a php calibrated script
Future extensions
#################
- Should be added more information to index such as forum and glossary attachements,
so will other standard module contents.
- extending the search capability to a mnet network information space by aggregating remote search responses.