Commit 7dcf55c1 authored by Gasol Wu's avatar Gasol Wu

Lots of phpdoc fixes based on docblox error output

parent 1548dcc7
...@@ -71,6 +71,10 @@ class Solarium_Client extends Solarium_Configurable ...@@ -71,6 +71,10 @@ class Solarium_Client extends Solarium_Configurable
* Querytype ping * Querytype ping
*/ */
const QUERYTYPE_PING = 'ping'; const QUERYTYPE_PING = 'ping';
/**
* Querytype morelikethis
*/
const QUERYTYPE_MORELIKETHIS = 'mlt'; const QUERYTYPE_MORELIKETHIS = 'mlt';
/** /**
......
...@@ -31,6 +31,9 @@ ...@@ -31,6 +31,9 @@
* @copyright Copyright 2011 Bas de Nooijer <solarium@raspberry.nl> * @copyright Copyright 2011 Bas de Nooijer <solarium@raspberry.nl>
* @license http://github.com/basdenooijer/solarium/raw/master/COPYING * @license http://github.com/basdenooijer/solarium/raw/master/COPYING
* @link http://www.solarium-project.org/ * @link http://www.solarium-project.org/
*
* @package Solarium
* @subpackage Client
*/ */
/** /**
......
...@@ -53,7 +53,15 @@ class Solarium_Query_MoreLikeThis extends Solarium_Query ...@@ -53,7 +53,15 @@ class Solarium_Query_MoreLikeThis extends Solarium_Query
* Query components * Query components
*/ */
const COMPONENT_DISMAX = 'dismax'; const COMPONENT_DISMAX = 'dismax';
/**
* Query component morelikethis
*/
const COMPONENT_MORELIKETHIS = 'morelikethis'; const COMPONENT_MORELIKETHIS = 'morelikethis';
/**
* Query component highlighting
*/
const COMPONENT_HIGHLIGHTING = 'highlighting'; const COMPONENT_HIGHLIGHTING = 'highlighting';
/** /**
......
...@@ -58,6 +58,11 @@ ...@@ -58,6 +58,11 @@
*/ */
class Solarium_Result_MoreLikeThis extends Solarium_Result_Select class Solarium_Result_MoreLikeThis extends Solarium_Result_Select
{ {
/**
* interesting terms
*/
protected $_interestingTerms;
/** /**
* this will show what "interesting" terms are used for the MoreLikeThis * this will show what "interesting" terms are used for the MoreLikeThis
* query. These are the top tf/idf terms. NOTE: if you select 'details', * query. These are the top tf/idf terms. NOTE: if you select 'details',
...@@ -68,8 +73,6 @@ class Solarium_Result_MoreLikeThis extends Solarium_Result_Select ...@@ -68,8 +73,6 @@ class Solarium_Result_MoreLikeThis extends Solarium_Result_Select
* *
* @var array * @var array
*/ */
protected $_interestingTerms;
public function getInterestingTerms() public function getInterestingTerms()
{ {
$query = $this->getQuery(); $query = $this->getQuery();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment