All Field


(Gustavo Maia) #1

Hi,

Is there any way to index only in _all field ?
I would like to index title, subtitle, body, date fields only in _all
field, i don't want create index in fields title, subtitle and body. I like
it for make my index more short.

--
Gustavo Maia


(Colin Dellow) #2

Yes. Have a look at
http://www.elasticsearch.org/guide/reference/mapping/all-field.html for a
sample mapping that demonstrates how to include only some fields.


(system) #3