Index only some of the fields

How can you do that he sought not his fields and the only which I will
point out, I need to look for the 2 columns. column1 and column2

You can use dynamic_templateshttp://www.elasticsearch.org/guide/reference/mapping/root-object-type.html,
for example, to index only the "index_" fields:
.mapping ("fx_provider", """{"fx_provider": {
"_all": {"enabled": false},
"dynamic_templates": {
"no_index_by_default": {
"match": "
",
"unmatch": "indexed_*",
"mapping": {"type": "string", "index": "no"}
}
}
}}"""))

пятница, 25 января 2013 г., 10:56:04 UTC+4 пользователь Николай Измайлов
написал:

How can you do that he sought not his fields and the only which I will
point out, I need to look for the 2 columns. column1 and column2

--