Storage vs index size, memory foot print etc.

2015-04-27 Thread Jakub Stransky
Hello, we are evaluating ES for a production use and trying to prepare some capacity estimation. During that task I just realized that some terms and internal mechanics are not clear enough to me and I wasn't able to find a relevant blog post, SO question which would clarify that for me. - Sto

Combining "more like this" functionality with additional query parameters

2015-03-23 Thread Jakub Stransky
I just bumped into "more like this" functionality/api. Is there a possibility to combine the result from more_like_this with some additional search constraint? I have two following ES query which works: POST /h/B/_search { "query":{ "more_like_this" : { "fields" : ["de

Re: Partial update to a document with java api

2015-03-05 Thread Jakub Stransky
" } This content I am trying to update under field in main json document. On Wednesday, 4 March 2015 15:35:42 UTC+1, Sávio Salvarino Teles de Oliveira wrote: > > Is the json object correct? Print it here please. > > 2015-03-04 7:56 GMT-03:00 Jakub Stransky > >: > >

Partial update to a document with java api

2015-03-04 Thread Jakub Stransky
Hello, I am new to elasticsearch and I am trying to update just a portion of the document via java api. From the rest client e.g. I am successfull but I am really struggling with java api - UpdateRequest. I am updating a second level source field with a "json object". POST /ho/B/3278778460/_up

More advanced spripting in elasticsearch

2015-03-03 Thread Jakub Stransky
Hello, I am trying to use a scripting support in ES for performing updates. I wonder if there are some more advanced examples available somewhere. What I have found so far is pretty simple examples as updating a one field or so. What I am looking for a multi field update or updating/including

Trasport Client load settings

2014-11-14 Thread Jakub Stransky
Hello, I am trying to create transport client for our remote 2 node es cluster (version 1.3) in java. When I use "hardcoded" cluster details all works just fine as code follows: Settings settings = ImmutableSettings.settingsBuilder().put("cluster.name", "elasticsearch").build(); final