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
82e5539c
Commit
82e5539c
authored
Jan 20, 2013
by
Bas de Nooijer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Code style fixes
parent
ddcbf791
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
5 deletions
+4
-5
library/Solarium/QueryType/Select/Query/Component/EdisMax.php
...ary/Solarium/QueryType/Select/Query/Component/EdisMax.php
+1
-1
library/Solarium/QueryType/Select/RequestBuilder/Component/Spellcheck.php
.../QueryType/Select/RequestBuilder/Component/Spellcheck.php
+2
-3
library/Solarium/QueryType/Select/ResponseParser/Component/Spellcheck.php
.../QueryType/Select/ResponseParser/Component/Spellcheck.php
+1
-1
No files found.
library/Solarium/QueryType/Select/Query/Component/EdisMax.php
View file @
82e5539c
library/Solarium/QueryType/Select/RequestBuilder/Component/Spellcheck.php
View file @
82e5539c
...
@@ -72,8 +72,7 @@ class Spellcheck implements ComponentRequestBuilderInterface
...
@@ -72,8 +72,7 @@ class Spellcheck implements ComponentRequestBuilderInterface
$request
->
addParam
(
'spellcheck.collateExtendedResults'
,
$component
->
getCollateExtendedResults
());
$request
->
addParam
(
'spellcheck.collateExtendedResults'
,
$component
->
getCollateExtendedResults
());
$request
->
addParam
(
'spellcheck.accuracy'
,
$component
->
getAccuracy
());
$request
->
addParam
(
'spellcheck.accuracy'
,
$component
->
getAccuracy
());
foreach
(
$component
->
getCollateParams
()
as
$param
=>
$value
)
foreach
(
$component
->
getCollateParams
()
as
$param
=>
$value
)
{
{
$request
->
addParam
(
'spellcheck.collateParam.'
.
$param
,
$value
);
$request
->
addParam
(
'spellcheck.collateParam.'
.
$param
,
$value
);
}
}
...
...
library/Solarium/QueryType/Select/ResponseParser/Component/Spellcheck.php
View file @
82e5539c
...
@@ -112,7 +112,7 @@ class Spellcheck extends ResponseParserAbstract implements ComponentParserInterf
...
@@ -112,7 +112,7 @@ class Spellcheck extends ResponseParserAbstract implements ComponentParserInterf
$collations
[]
=
new
Collation
(
$values
,
null
,
array
());
$collations
[]
=
new
Collation
(
$values
,
null
,
array
());
}
else
if
(
is_array
(
$values
)
&&
isset
(
$values
[
0
])
&&
is_string
(
$values
[
0
])
&&
$values
[
0
]
!==
'collationQuery'
)
{
}
elseif
(
is_array
(
$values
)
&&
isset
(
$values
[
0
])
&&
is_string
(
$values
[
0
])
&&
$values
[
0
]
!==
'collationQuery'
)
{
foreach
(
$values
as
$value
)
{
foreach
(
$values
as
$value
)
{
$collations
[]
=
new
Collation
(
$value
,
null
,
array
());
$collations
[]
=
new
Collation
(
$value
,
null
,
array
());
...
...
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