Index Creation on Startup?


(bailey) #1

Hi All-

Is there an ES config setting that can instruct ES to create indexes
(with associated mappings) on startup based on the directories set in
config/mappings?

Thanks.


Create index at startup
(Shay Banon) #2

Reposting from IRC: You can crete an index on startup, and ignore it if it already exists (already exists exception (400 HTTP code).

-shay.banon
On Friday, January 28, 2011 at 10:20 PM, bailey wrote:

Hi All-

Is there an ES config setting that can instruct ES to create indexes
(with associated mappings) on startup based on the directories set in
config/mappings?

Thanks.


(system) #3