Quantcast

How to prevent Spring data elasticsearch to create index automatically at start ?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

How to prevent Spring data elasticsearch to create index automatically at start ?

adile
This post has NOT been accepted by the mailing list yet.
Hi,

Actually, when i just start my component, Spring Data Elasticsearch create automatically indexes with my entities annoted with @Document(indexName = "foo", type = "foo").

I don't want this feature because i actually create my indice with custom name (ex : foo-2006-06-30) and create alias with the name setted in @Document, "foo" in this example.


How can i disable this feature ?

Thanks !!
Loading...