Blog

  1. Home
  2. Blog

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. [https://github.com/lucidworks/auto-phrase-tokenfilter]. 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 com.ms.matrix; import java.util.Scanner; public class CreateMatrix { public static void main(String[] args) { Scanner scan = new Scanner(System.in); 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 webstudio.properties 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

HWDI [How We Do It] Custom Sorting

Let’s implement another business requirement in our series HWDI [How We Do It]. Below is the conversation between business analyst [Steve] and developer [Lisa] team to implement custom sortingOptions using Oracle Endeca Experience Manager. Steve: Good Morning Dev Team, we have a new requirement to give more control over sort options. Here are the requirements: As a merchandizing user I […]

Continue Reading

Transferring thesaurus between environments

There are two ways for transferring thesaurus between environments. 1) Export the site data from one environment and import it to other. 2) Using IFCR command.  From your /<yourendecapath>/<application> /control directory, execute: runcommand.bat IFCR exportNode ..\config\temp\thesaurus thesaurus All thesaurus entry files will be created in the specified directory.  If the directory does not exist in your filesystem, the EAC creates […]

Continue Reading
Show Buttons
Hide Buttons