fixed typo 'if' -> 'is' (#19051)

This commit is contained in:
Jerry Liu 2016-06-27 08:20:23 -04:00 committed by Clinton Gormley
parent 59762fe487
commit 1863ab95f8
1 changed files with 1 additions and 1 deletions

View File

@ -101,7 +101,7 @@ In the above example, the `init_script` creates an array `transactions` in the `
map_script:: Executed once per document collected. This is the only required script. If no combine_script is specified, the resulting state
needs to be stored in an object named `_agg`.
+
In the above example, the `map_script` checks the value of the type field. If the value if 'sale' the value of the amount field
In the above example, the `map_script` checks the value of the type field. If the value is 'sale' the value of the amount field
is added to the transactions array. If the value of the type field is not 'sale' the negated value of the amount field is added
to transactions.