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
1d2a0deb
Commit
1d2a0deb
authored
Aug 21, 2011
by
Bas de Nooijer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- removed unnecessary adapteroptions initialization (will be done on first adapter use)
- small phpdoc fixes for MLT
parent
21e37e64
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
10 deletions
+5
-10
library/Solarium/Client.php
library/Solarium/Client.php
+5
-10
No files found.
library/Solarium/Client.php
View file @
1d2a0deb
...
@@ -149,11 +149,6 @@ class Solarium_Client extends Solarium_Configurable
...
@@ -149,11 +149,6 @@ class Solarium_Client extends Solarium_Configurable
{
{
foreach
(
$this
->
_options
AS
$name
=>
$value
)
{
foreach
(
$this
->
_options
AS
$name
=>
$value
)
{
switch
(
$name
)
{
switch
(
$name
)
{
case
'adapteroptions'
:
$this
->
_setOption
(
'adapteroptions'
,
$value
);
$adapter
=
$this
->
getAdapter
();
if
(
$adapter
)
$adapter
->
setOptions
(
$value
);
break
;
case
'querytype'
:
case
'querytype'
:
$this
->
registerQueryTypes
(
$value
);
$this
->
registerQueryTypes
(
$value
);
break
;
break
;
...
@@ -578,14 +573,14 @@ class Solarium_Client extends Solarium_Configurable
...
@@ -578,14 +573,14 @@ class Solarium_Client extends Solarium_Configurable
* $result = $client->moreLikeThis($query);
* $result = $client->moreLikeThis($query);
* </code>
* </code>
*
*
* @see Solarium_Query_
Select
* @see Solarium_Query_
MoreLikeThis
* @see Solarium_Result_
Select
* @see Solarium_Result_
MoreLikeThis
*
*
* @internal This is a convenience method that forwards the query to the
* @internal This is a convenience method that forwards the query to the
* execute method, thus allowing for an easy to use and clean API.
* execute method, thus allowing for an easy to use and clean API.
*
*
* @param Solarium_Query_
Select
$query
* @param Solarium_Query_
MoreLikeThis
$query
* @return Solarium_Result_
Select
* @return Solarium_Result_
MoreLikeThis
*/
*/
public
function
moreLikeThis
(
$query
)
public
function
moreLikeThis
(
$query
)
{
{
...
@@ -633,7 +628,7 @@ class Solarium_Client extends Solarium_Configurable
...
@@ -633,7 +628,7 @@ class Solarium_Client extends Solarium_Configurable
* Create a MoreLikeThis query instance
* Create a MoreLikeThis query instance
*
*
* @param mixed $options
* @param mixed $options
* @return Solarium_Query_
Select
* @return Solarium_Query_
MoreLikeThis
*/
*/
public
function
createMoreLikeThis
(
$options
=
null
)
public
function
createMoreLikeThis
(
$options
=
null
)
{
{
...
...
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