2 issues are there:

1.Elastic search CRUD function only working in debug mode, not in normal 
mode.(while running in eclipse debug mode)

Or else if we put Thread .sleep(5000),then also it is working(without debug 
mode) but impact the performance. .

2.Allowing only to add upto 10 records.If try to add more than that ,it is 
overriding the existing records.

other details used in application:

-Elasticsearch client is spring autowired (@autowired Client)
-Using elasticsearch node in spring config file as -

elasticsearch:node-client id="client" local="true">

sample query used for create and get: 
client.prepareIndex(index, type, id).setSource(json).execute().actionGet();
Thread .sleep(5000)

GetResponse getResponse = client.prepareGet().execute().actionGet();

Pls let me know for any more details required.
Appreciate a lot,if get quick response .Many thanks in advance.

-- 
Please update your bookmarks! We have moved to https://discuss.elastic.co/
--- 
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to elasticsearch+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/7847850e-edac-4d99-9fb6-eb103e9149ba%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to