Skip to content

Commit

Permalink
Fixed missing ' in Bulk indexing example code
Browse files Browse the repository at this point in the history
-- Amended the commit to fix another missing single quote (polyfractal)
  • Loading branch information
jamielob authored and polyfractal committed Apr 15, 2014
1 parent 9022a9e commit b90b7d3
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions docs/indexing-operations.asciidoc
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

== Indexing Operations

Indexing is very easy in the client. Since associative arrays can easily be converted into JSON documents, indexing documents is simply a matter of providing the correctly structured associative array and calling a method.
Expand Down Expand Up @@ -75,7 +74,7 @@ for($i = 0; $i < 100; $i++) {
$params['body'][] = array(
'doc' => array(
'my_field' => 'my_value',
'second_field => 'some more values'
'second_field' => 'some more values'
)
);
}
Expand All @@ -99,7 +98,7 @@ for($i = 0; $i < 100; $i++) {
'doc_as_upsert' => 'true'
'doc' => array(
'my_field' => 'my_value',
'second_field => 'some more values'
'second_field' => 'some more values'
)
);
}
Expand Down

0 comments on commit b90b7d3

Please sign in to comment.