[ POPULAR STORIES ]

CATCH UP THE POPULAR STORIES

Refilling the Inkjet Cartridges – ALL YOU NEED TO KNOW

       Many of us use printer. It may be in home or office. We usually own inkjet printers if its for basic use. The main advantage of inkjet printers are its low cost. We used to refill the cartridge once the ink gets over which is an another added advantage. Cartridges are just… Read More »

Read more
Alternative text

Elasticsearch – Use Script Filter/Conditon in Aggregation/Sub-Aggreagtion

Example 1 – REST: GET /INDEX/TYPE/_search { "size": 0, "aggs": { "FILTER_NAME": { "filter": { "script": { "script": "doc['field1'].value < doc['field2'].value" } } } } } Example 1 – Java API: SearchRequestBuilder searchRequestBuilder = esClient .prepareSearch("INDEX) .setTypes("TYPE") .setSize(0) .addAggregation( AggregationBuilders.filter("FILTER_NAME").filter(FilterBuilders.scriptFilter("doc['filed1'].value > doc['field2'].value"))); SearchResponse searchResponse = searchRequestBuilder.execute().actionGet(); Map<String, Aggregation> aggMap = searchResponse.getAggregations().asMap(); InternalFilter filter = (InternalFilter)… Read More »

Read more
Alternative text

Execute Multiple Search Query in Elasticsearch

           The following query can be used to execute multiple search queries on the required index and type. Elasticsearch will process the request and the response is sent as array field named responses which contains the response for each query.  Note : { “index”: “INDEX_NAME_1”, “type”: “TYPE_NAME_1” } in Example 1… Read More »

Read more
Alternative text

Logstash – Process Log File Once and Exit/Stop Logstash After Reading Log File Once

            I have a scenario in Logstash where I want to process a log file in a path once in a day. In my case, a new log file will be added to a path which needs to be processed once and it takes roughly around 10 minutes to process… Read More »

Read more
Alternative text

IllumiRoom – An Augmented Reality for nxtGen Xbox with Kinect

            Digital entertainment is a part of daily life. We see a lot of movies, videos, games etc. Displays and the speakers are the two electronic products which gives us great experience. Considering the current generation   display technologies, some are LCD’s, TFT’s, LED’s, Projectors etc. Better the size and resolution of… Read More »

Read more
Alternative text

[ LATEST STORIES ]

CATCH UP THE LATEST STORIES

[ SUBSCRIBE TO OUR BLOG ]