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
b8a68b1a
Commit
b8a68b1a
authored
Dec 27, 2017
by
Markus Kalkbrenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Spelling of Endpoint should be consistent.
parent
2a3206ad
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
3 deletions
+8
-3
.idea/codeStyles/codeStyleConfig.xml
.idea/codeStyles/codeStyleConfig.xml
+5
-0
library/Solarium/Plugin/BufferedAdd/BufferedAdd.php
library/Solarium/Plugin/BufferedAdd/BufferedAdd.php
+3
-3
No files found.
.idea/codeStyles/codeStyleConfig.xml
0 → 100644
View file @
b8a68b1a
<component
name=
"ProjectCodeStyleConfiguration"
>
<state>
<option
name=
"USE_PER_PROJECT_SETTINGS"
value=
"true"
/>
</state>
</component>
\ No newline at end of file
library/Solarium/Plugin/BufferedAdd/BufferedAdd.php
View file @
b8a68b1a
...
...
@@ -99,7 +99,7 @@ class BufferedAdd extends AbstractPlugin
*
* @return string
*/
public
function
getEnd
P
oint
()
public
function
getEnd
p
oint
()
{
return
$this
->
getOption
(
'endpoint'
);
}
...
...
@@ -223,7 +223,7 @@ class BufferedAdd extends AbstractPlugin
$this
->
client
->
getEventDispatcher
()
->
dispatch
(
Events
::
PRE_FLUSH
,
$event
);
$this
->
updateQuery
->
addDocuments
(
$event
->
getBuffer
(),
$event
->
getOverwrite
(),
$event
->
getCommitWithin
());
$result
=
$this
->
client
->
update
(
$this
->
updateQuery
,
$this
->
getEnd
P
oint
());
$result
=
$this
->
client
->
update
(
$this
->
updateQuery
,
$this
->
getEnd
p
oint
());
$this
->
clear
();
$event
=
new
PostFlushEvent
(
$result
);
...
...
@@ -251,7 +251,7 @@ class BufferedAdd extends AbstractPlugin
$this
->
updateQuery
->
addDocuments
(
$this
->
buffer
,
$event
->
getOverwrite
());
$this
->
updateQuery
->
addCommit
(
$event
->
getSoftCommit
(),
$event
->
getWaitSearcher
(),
$event
->
getExpungeDeletes
());
$result
=
$this
->
client
->
update
(
$this
->
updateQuery
,
$this
->
getEnd
P
oint
());
$result
=
$this
->
client
->
update
(
$this
->
updateQuery
,
$this
->
getEnd
p
oint
());
$this
->
clear
();
$event
=
new
PostCommitEvent
(
$result
);
...
...
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