Public Member Functions | |
| deletePaperKeywords ($paperId, $type=null, $assocId=null) | |
| & | getPhraseResults (&$conference, $phrase, $publishedFrom=null, $publishedTo=null, $type=null, $limit=500, $cacheHours=24) |
| insertKeyword ($keyword) | |
| insertObject ($paperId, $type, $assocId) | |
| insertObjectKeyword ($objectId, $keyword, $position) | |
Definition at line 21 of file PaperSearchDAO.inc.php.
| PaperSearchDAO.deletePaperKeywords | ( | $ | paperId, | |
| $ | type = null, |
|||
| $ | assocId = null | |||
| ) |
Delete all keywords for a paper object.
| $paperId | int | |
| $type | int optional | |
| $assocId | int optional |
Definition at line 136 of file PaperSearchDAO.inc.php.
| & PaperSearchDAO.getPhraseResults | ( | &$ | conference, | |
| $ | phrase, | |||
| $ | publishedFrom = null, |
|||
| $ | publishedTo = null, |
|||
| $ | type = null, |
|||
| $ | limit = 500, |
|||
| $ | cacheHours = 24 | |||
| ) |
Retrieve the top results for a phrases with the given limit (default 500 results).
| $keywordId | int |
Definition at line 64 of file PaperSearchDAO.inc.php.
| PaperSearchDAO.insertKeyword | ( | $ | keyword | ) |
Add a word to the keyword list (if it doesn't already exist).
| $keyword | string |
Definition at line 27 of file PaperSearchDAO.inc.php.
Referenced by insertObjectKeyword().
| PaperSearchDAO.insertObject | ( | $ | paperId, | |
| $ | type, | |||
| $ | assocId | |||
| ) |
Add a paper object to the index (if already exists, indexed keywords are cleared).
| $paperId | int | |
| $type | int | |
| $assocId | int |
Definition at line 168 of file PaperSearchDAO.inc.php.
| PaperSearchDAO.insertObjectKeyword | ( | $ | objectId, | |
| $ | keyword, | |||
| $ | position | |||
| ) |
Index an occurrence of a keyword in an object.s
| $objectId | int | |
| $keyword | string | |
| $position | int |
Definition at line 200 of file PaperSearchDAO.inc.php.
References insertKeyword().
1.4.7