@@ -93,6 +93,9 @@ |
||
| 93 | 93 | $param->IsValid = $this->password->Text == 'Prado'; |
| 94 | 94 | } |
| 95 | 95 | |
| 96 | + /** |
|
| 97 | + * @param CommentRecord $record |
|
| 98 | + */ |
|
| 96 | 99 | protected function format_message($record) |
| 97 | 100 | { |
| 98 | 101 | $username=htmlspecialchars($record->username); |
@@ -268,7 +268,7 @@ discard block |
||
| 268 | 268 | * Returns a Zend_Search_Lucene_Document object for the document |
| 269 | 269 | * number $id in this index. |
| 270 | 270 | * |
| 271 | - * @param integer|Zend_Search_Lucene_Search_QueryHit $id |
|
| 271 | + * @param integer $id |
|
| 272 | 272 | * @return Zend_Search_Lucene_Document |
| 273 | 273 | */ |
| 274 | 274 | public function getDocument($id) |
@@ -553,7 +553,6 @@ discard block |
||
| 553 | 553 | * or the number of the document to delete. |
| 554 | 554 | * |
| 555 | 555 | * @todo Implementation |
| 556 | - * @param mixed $item_to_del |
|
| 557 | 556 | */ |
| 558 | 557 | public function delete($doc) |
| 559 | 558 | {} |
@@ -68,7 +68,6 @@ |
||
| 68 | 68 | /** |
| 69 | 69 | * Set the default Analyzer implementation used by indexing code. |
| 70 | 70 | * |
| 71 | - * @param Zend_Search_Lucene_Analysis_Analyzer $similarity |
|
| 72 | 71 | */ |
| 73 | 72 | static public function setDefault(Zend_Search_Lucene_Analysis_Analyzer $analyzer) |
| 74 | 73 | { |
@@ -47,6 +47,9 @@ |
||
| 47 | 47 | |
| 48 | 48 | public $boost = 1.0; |
| 49 | 49 | |
| 50 | + /** |
|
| 51 | + * @param boolean $isStored |
|
| 52 | + */ |
|
| 50 | 53 | public function __construct($name, $stringValue, $isStored, $isIndexed, $isTokenized, $isBinary = false) |
| 51 | 54 | { |
| 52 | 55 | $this->name = $name; |
@@ -32,6 +32,10 @@ |
||
| 32 | 32 | public $number; |
| 33 | 33 | public $storeTermVector; |
| 34 | 34 | |
| 35 | + /** |
|
| 36 | + * @param string $name |
|
| 37 | + * @param integer $number |
|
| 38 | + */ |
|
| 35 | 39 | public function __construct( $name, $isIndexed, $number, $storeTermVector ) |
| 36 | 40 | { |
| 37 | 41 | $this->name = $name; |
@@ -391,7 +391,7 @@ |
||
| 391 | 391 | * |
| 392 | 392 | * @param integer $id |
| 393 | 393 | * @param string $fieldName |
| 394 | - * @return string |
|
| 394 | + * @return null|double |
|
| 395 | 395 | */ |
| 396 | 396 | public function norm($id, $fieldName) |
| 397 | 397 | { |
@@ -65,6 +65,11 @@ |
||
| 65 | 65 | */ |
| 66 | 66 | public $indexPointer; |
| 67 | 67 | |
| 68 | + /** |
|
| 69 | + * @param integer $docFreq |
|
| 70 | + * @param integer $skipOffset |
|
| 71 | + * @param integer $indexPointer |
|
| 72 | + */ |
|
| 68 | 73 | public function __construct($docFreq, $freqPointer, $proxPointer, $skipOffset, $indexPointer = null) |
| 69 | 74 | { |
| 70 | 75 | $this->docFreq = $docFreq; |
@@ -258,7 +258,7 @@ |
||
| 258 | 258 | * Score calculator for exact phrase queries (terms sequence is fixed) |
| 259 | 259 | * |
| 260 | 260 | * @param integer $docId |
| 261 | - * @return float |
|
| 261 | + * @return integer |
|
| 262 | 262 | */ |
| 263 | 263 | public function _exactPhraseFreq($docId) |
| 264 | 264 | { |
@@ -74,7 +74,7 @@ |
||
| 74 | 74 | * IndexReader constructor needs token type and token text as a parameters. |
| 75 | 75 | * |
| 76 | 76 | * @param $tokType integer |
| 77 | - * @param $tokText string |
|
| 77 | + * @param string $tokText string |
|
| 78 | 78 | */ |
| 79 | 79 | public function __construct($tokType, $tokText) |
| 80 | 80 | { |