Docs: Update id-field.asciidoc

It is strange to provide an example with `"store" : false` when talking about possibility of enabling the field to be stored.
Broke the line in the mapping in two lines for better readability.
More verbose sentence above the mapping.

Closes #7894
This commit is contained in:
Sergii Golubev 2014-09-26 13:58:12 +03:00 committed by Clinton Gormley
parent 646f7acf5c
commit 0fb81d6643
1 changed files with 5 additions and 2 deletions

View File

@ -11,13 +11,16 @@ using `term`, `terms` or `prefix` queries/filters (including the
specific `ids` query/filter).
The `_id` field can be enabled to be indexed, and possibly stored,
using:
using the appropriate mapping attributes:
[source,js]
--------------------------------------------------
{
"tweet" : {
"_id" : {"index": "not_analyzed", "store" : false }
"_id" : {
"index" : "not_analyzed",
"store" : true
}
}
}
--------------------------------------------------