Total TTL confusion

2014-08-06 Thread Dennis de Boer
I'm getting regular TTL exceptions in my elasticsearch setup during updating documents. I want to figure out how exactly TLL works. The more I read about it, the more confusing it gets. I have several questions, hope anyone is willing to answer them: *** Using elasticsearch 0.90.5 *** In my ma

Re: TTL value must be > 0. Illegal value provided

2014-08-05 Thread Dennis de Boer
forgot to mention I'm using version 0.90.5 Op dinsdag 5 augustus 2014 11:08:37 UTC+2 schreef Dennis de Boer: > > I recently recieved some exceptions in my log while updating documents > into my index. > > org.elasticsearch.ElasticSearchIllegalArgumentException: TTL

TTL value must be > 0. Illegal value provided

2014-08-05 Thread Dennis de Boer
I recently recieved some exceptions in my log while updating documents into my index. org.elasticsearch.ElasticSearchIllegalArgumentException: TTL value must be > 0. Illegal value provided [-17810] at org.elasticsearch.action.index.IndexRequest.ttl(IndexRequest.java:291) at org.elasti

Re: How to debug NoNodeAvailableException

2014-08-04 Thread Dennis de Boer
.setId(product.internal_id) .execute() .actionGet(); This update function is called more then 100.000 times. Once for every product in all the product feeds. Sometimes after ~2000 or ~3000 records I receive a NoNodeAvailableExcepti

How to debug NoNodeAvailableException

2014-08-04 Thread Dennis de Boer
Hi all, Hope you can give me some pointers on this topic. I'm trying to figure out what is going wrong in my setup/config but I cannot figure it out. I have two servers. Server A hosts a public website with the elasticsearch index. Server B retrieves XML productfeeds , parses the feeds, and a

Keeping original creation date on updates

2014-04-08 Thread Dennis de Boer
Hi all, I'm running an ecommerce site with elasticsearch and want to add a "new items this week" feature. I need to add a creation date for every document, but I cannot make it work. The situation is as follows: 1) The products of the site are imported every day using a JSON datafeed 2) The impo