1. Home
  2. Blog

EKS cluster using an existing VPC

The eksctl command line tool can create a cluster by either command-line options or using a eksctl config file to define the infrastructure. The default method to provision EKS with this tool is to create both the VPC and EKS that uses VPC, but this is not as flexible. But what if you already created VPC for your network, below is one […]

Continue Reading

kubectl Unable to connect to the server

When working with Kubernetes if you are getting Unable to conntect to server timeout like below mandarshinde@MacBook-Pro cloud-native % kubectl cluster-info dump Unable to connect to the server: dial tcp i/o timeout Get current cluster name and Zone: gcloud container clusters list Configure Kubernetes to use your current cluster: gcloud container clusters get-credentials [cluster name] –zone [zone]

Continue Reading

Lucidworks Spell Correction

We need to update few configuration for spell check to work in Lucidworks Fusion. This blog outline the changes need to made to show spell suggestion on AppStudio application. Update RequestHandler to use “spellcheck” search component. Add below lines to “/select” RequestHandler within “<lst name=”defaults”>” Once done update platform “fusion.conf” which is at location “<app-studio>/src/main/resources/conf/message/service/fusion.conf” and add below lines Update […]

Continue Reading

Automatic Phrasing Token Filter in Lucidworks Fusion

How do we inject capability to detect and tokenize phrases using Automatic Phrazing Token Filter in Fusion? Well below are the details on how to do it. Configuration Settings: 1. Using this github create your jar. []. Copy JAR [“auto-phrase-tokenfilter-1.0.jar”] to solrLocation to copy JAR “/opt/fusion/<version>/apps/solr-dist/dist” 2. Update solr config.xml Add lib reference 3. Add a new text file “autophrases.txt” […]

Continue Reading

Java SE 8 parallelSort in Arrays class

Arrays class now has several new “parallel” methods to take advantage of multi-core hardware. Arrays method parallelSort can sort large arrays more efficiently on multicore systems. Lets create a very large array and use Java SE 8 Date/Time API to compare how long it takes to sort the array with methods sort and parallelSort. SecureRandom random = new SecureRandom(); // […]

Continue Reading

Bubble Sort Using JAVA

Bubble sort is a simple sorting algorithm that works by repeatedly stepping through list to be sorted, comparing each pair of adjacent items and swapping them if they are out of order. The pass through list is repeated until no swaps are needed, which indicates that the list is now sorted. Although algorithm is simple, most of the other sorting […]

Continue Reading

Enabling Dimension Refinement Counts in a CAS­ application (Forgeless)

Problem Are you missing refinement counts on dimensions with Oracle Commerce 11.1 or later using CAS ­based application (Forgeless)? Endeca JSP Reference Application shows records but missing counts of records next to those dimensions. Do you want to fix it, well then this discussion is for you. With earlier application which uses Forge, it was possible to enable refinement counts […]

Continue Reading

Create Matrix With User Input Using Java

Using 2D array to implement the matrices in java. Below example shows how to take matrix data from the user inputs and display them. package; import java.util.Scanner; public class CreateMatrix { public static void main(String[] args) { Scanner scan = new Scanner(; System.out.println(“Enter The Number Of Matrix Rows”); int matrixRow = scan.nextInt(); System.out.println(“Enter The Number Of Matrix Columns”); int […]

Continue Reading

Two-dimensional array JAVA

We can declare a two dimensional array and directly store elements at the time of its declaration as shown below: int numbers[][]={{23,45,57,24,74},{34,67,23,55,23},{34,74,24,46,78},{23, 56,87, 89,96}, {95, 03, 45, 99,56}}; Here int represents integer type elements stored into array and array name is ‘numbers’. ‘int’ is the datatype for all elements represented inside “{” and “}” braces because an array is a […]

Continue Reading

Workbench saved rules not applying to dgraphs

When rules are saved, default behavior of Workbench is to apply update to all dgraphs. All defined dgraph HOST’s EAC Agents are instructed to perform an emgr_update command to request the MDEX configuration files from defined Workbench HOST. Webstudio HOST is configured in file in the “$ENDECA_CONF/conf” in Linux or “%ENDECA_CONF%\conf” in Windows directory. “com.endeca.webstudio.hostname” variable specifies HOST for Workbench. This […]

Continue Reading
Show Buttons
Hide Buttons