@@ -289,7 +289,7 @@ discard block |
||
| 289 | 289 | * @param string $forceType The type to force this field as (required in some cases, when not |
| 290 | 290 | * detectable from metadata) |
| 291 | 291 | * @param array $extraOptions Dependent on search implementation |
| 292 | - * @param float $boost Numeric boosting value (defaults to 2) |
|
| 292 | + * @param integer $boost Numeric boosting value (defaults to 2) |
|
| 293 | 293 | */ |
| 294 | 294 | public function addBoostedField($field, $forceType = null, $extraOptions = array(), $boost = 2) |
| 295 | 295 | { |
@@ -298,6 +298,9 @@ discard block |
||
| 298 | 298 | } |
| 299 | 299 | |
| 300 | 300 | |
| 301 | + /** |
|
| 302 | + * @param string $field |
|
| 303 | + */ |
|
| 301 | 304 | public function fieldData($field, $forceType = null, $extraOptions = array()) |
| 302 | 305 | { |
| 303 | 306 | // Ensure that 'boost' is recorded here without being captured by solr |
@@ -508,6 +511,9 @@ discard block |
||
| 508 | 511 | return $class === $base || is_subclass_of($class, $base); |
| 509 | 512 | } |
| 510 | 513 | |
| 514 | + /** |
|
| 515 | + * @param \Apache_Solr_Document $doc |
|
| 516 | + */ |
|
| 511 | 517 | protected function _addField($doc, $object, $field) |
| 512 | 518 | { |
| 513 | 519 | $class = get_class($object); |
@@ -557,6 +563,9 @@ discard block |
||
| 557 | 563 | } |
| 558 | 564 | } |
| 559 | 565 | |
| 566 | + /** |
|
| 567 | + * @param string $base |
|
| 568 | + */ |
|
| 560 | 569 | protected function _addAs($object, $base, $options) |
| 561 | 570 | { |
| 562 | 571 | $includeSubs = $options['include_children']; |