elastic search scripting help..

2015-02-04 Thread samatha kankipati
Hi , I would like find the duration between current time and updatedAt time of document stored in ES .. I am trying to use scripting.. script should get 1) current time 2) _source.updatedAt 3) then find the difference in minutes 4) and then do some more calculations.. I tried with multiple ways

filtering/querying on script field

2015-01-15 Thread samatha kankipati
Is it possible to filter or query on script_fields. If so, can you provide any example.. -- 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+unsubsc

Root type mapping not empty after parsing

2014-11-20 Thread samatha kankipati
Hi I am trying to upgrade from ES 0.90.2 to 1.4.0 I am using java api to set the settings of index, this was working fine with 0.90.2 client.admin().indices().prepareCreate(indexName).setSettings(_).execute().actionGet() here are my settings: { "index": { "analysis": { "analyzer": { "keywor