Category Archives: Programming

Execute Multiple Search Query in Elasticsearch

Execute Multiple Search Query in Elasticsearch

Execute Multiple Search Query in Elasticsearch

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 »

Elasticsearch – Apply Nested Filter on Nested (Inner) Aggregation

Elasticsearch - Apply Nested Filter on Nested (Inner) Aggregation

Elasticsearch – Apply Nested Filter on Nested (Inner) Aggregation

Elasticsearch - Apply Nested Filter on Nested (Inner) Aggregation

           The following query can be used to apply filter on nested (inner) aggregation. In our example aggregationName2 is the nested aggregation. The filter (bold content) in the input JSON will be applied only for the aggregation aggregationName2. aggregationName2 takes in the output of aggregationName1, then applies the filter which is then processed by aggregationName2… Read More »

Stack Implementation using Linked List – C Program

Stack Implementation using Linked List - C Program

Stack Implementation using Linked List – C Program

Stack Implementation using Linked List - C Program

DATA STRUCTURES IN C – LINKED LIST (20 PROGRAMS) Try DATA STRUCTURES IN C – LINKED LIST (20 PROGRAMS) Stack Implementation using Linked List – C Program : Source Code : #include<stdio.h> struct node *top=NULL; //Declared as global variable since it is accessed by multiple functions //Pointer that points the top node of the stack… Read More »

Linked List in C- Print Linked List in Reverse Order using Recursion

Linked List in C- Print Linked List in Reverse Order using Recursion

Linked List in C- Print Linked List in Reverse Order using Recursion

Linked List in C- Print Linked List in Reverse Order using Recursion

DATA STRUCTURES IN C – LINKED LIST (20 PROGRAMS) Try DATA STRUCTURES IN C – LINKED LIST (20 PROGRAMS) Linked List in C- Print Linked List in Reverse Order using Recursion : Source Code : #include<stdio.h> struct node *head=NULL; //Pointer to store the staring node of the linked list //Always stores the address location of first… Read More »