Skip to content

Commit

Permalink
[DOCS] Update boolean mapping docs with a full list of values that ar…
Browse files Browse the repository at this point in the history
…e treated as false

Closes #5337
  • Loading branch information
imotov committed Mar 5, 2014
1 parent 941ffe0 commit b723ee0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/reference/mapping/types/core-types.asciidoc
Expand Up @@ -362,8 +362,9 @@ and `false` respectively.
}
--------------------------------------------------

The boolean type also supports passing the value as a number (in this
case `0` is `false`, all other values are `true`).
The boolean type also supports passing the value as a number or a string
(in this case `0`, an empty string, `F`, `false`, `off` and `no` are
`false`, all other values are `true`).

The following table lists all the attributes that can be used with the
boolean type:
Expand Down

0 comments on commit b723ee0

Please sign in to comment.