|
Stud.IP
jlu_4.3 Revision 64286
|

Static Public Member Functions | |
| static | sqlIndex (\FileRef $fileRef=null, array $options=[]) |
| static | indexFile (\FileRef $fileRef) |
| static | indexFiles () |
| static | indexFolder (\Folder $folder) |
| static | dropIndexForFolder (\Folder $folder) |
| static | dropIndexForFile (\FileRef $fileRef) |
Data Fields | |
| const | TIME_LIMIT = 3600 |
| const | RATING_FILE_REF_NAME = 0.9 |
| const | RATING_FILE_REF_DESCRIPTION = 0.4 |
| const | RATING_FILE_AUTHOR = 0.5 |
| const | RATING_RANGE_COURSE_NAME = 0.1 |
| const | RATING_RANGE_INSTITUTE_NAME = 0.1 |
The FilesIndexManager is responsible for creating the fulltext index of all or just single files.
@license GPL2 or any later version
|
static |
This method drops the index of a single file.
| FileRef | the file whose index shall be dropped |

|
static |
This method drops all indexes of direct children of a folder.
| Folder | $folder | the folder to drop indexes of |
|
static |
This method indexes a single file.
| FileRef | $fileRef | the file to index |
|
static |
This method indexes all files.
|
static |
This method indexes the direct children of a folder.
| Folder | $folder | the folder to index |
|
static |
(Re-)Create the fulltext index of all files or a single file.
| FileRef | $fileRef | optional; the file ref to (re-)index or otherwise all files will be indexed |
| array | $options | optional; an array of options, currently only verbose is used - resulting in a verbose description of what the FilesIndexManager is doing |

| const RATING_FILE_AUTHOR = 0.5 |
| const RATING_FILE_REF_DESCRIPTION = 0.4 |
| const RATING_FILE_REF_NAME = 0.9 |
| const RATING_RANGE_COURSE_NAME = 0.1 |
| const RATING_RANGE_INSTITUTE_NAME = 0.1 |
| const TIME_LIMIT = 3600 |