Elasticsearch indexing and searching special usecase?

(Haseb Ansari) #1

Can elasticsearch handle the indexing part if I change schema of data ?
For example: My first data contains fields (name, age, address, company) then if I add a similar data with additional field like (name, age, address, company, country). Is this situation can be handled by elasticsearch ? Or to use elasticsearch the data should have same structure ?

Kind regards,

Haseb Ansari

(Nik Everett) #2

In general you can add new fields at any time. In it's default configuration Elasticsearch will automatically index those fields. This is called dynamic mapping.

(system) #3