Glossary indexing added, used to demonstrate that it's relatively simple

to add a new module to the indexing queue.
This commit is contained in:
mchampan 2006-07-26 11:29:35 +00:00
parent ed35659607
commit defb87ba90
2 changed files with 67 additions and 1 deletions

View file

@ -12,7 +12,8 @@
//document types that can be searched
define('SEARCH_TYPE_NONE', 'none');
define('SEARCH_TYPE_WIKI', 'wiki');
define('SEARCH_TYPE_FORUM', 'forum');
define('SEARCH_TYPE_FORUM', 'forum');
define('SEARCH_TYPE_GLOSSARY', 'glossary');
//returns all the document type constants
function search_get_document_types($prefix='SEARCH_TYPE') {