Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in
Toggle navigation
S
solarium
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
common
solarium
Commits
7dcf55c1
Commit
7dcf55c1
authored
Aug 17, 2011
by
Gasol Wu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Lots of phpdoc fixes based on docblox error output
parent
1548dcc7
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
20 additions
and
2 deletions
+20
-2
library/Solarium/Client.php
library/Solarium/Client.php
+4
-0
library/Solarium/Client/Adapter/PeclHttp.php
library/Solarium/Client/Adapter/PeclHttp.php
+3
-0
library/Solarium/Query/MoreLikeThis.php
library/Solarium/Query/MoreLikeThis.php
+8
-0
library/Solarium/Result/MoreLikeThis.php
library/Solarium/Result/MoreLikeThis.php
+5
-2
No files found.
library/Solarium/Client.php
View file @
7dcf55c1
...
@@ -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'
;
/**
/**
...
...
library/Solarium/Client/Adapter/PeclHttp.php
View file @
7dcf55c1
...
@@ -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
*/
*/
/**
/**
...
...
library/Solarium/Query/MoreLikeThis.php
View file @
7dcf55c1
...
@@ -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'
;
/**
/**
...
...
library/Solarium/Result/MoreLikeThis.php
View file @
7dcf55c1
...
@@ -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
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment