Oracle Endeca Commerce Tutorial

Rating: 4.6
  
 
7198

Endeca company has been around since 1999 and was based in Cambridge, MA. For most of its time, Endeca has focused on the e-Commerce market, providing the technology behind e-commerce websites, what all these sites have in common is a feature called “faceted search”, where users are able to query and drill into the retailer’s dataset, using any combination of attributes.

Oracle Endeca Tutorial - Table of Content 

Endeca Tutorial for Beginners

Endeca focused on this e-commerce market first and developed the MDEX engine to support this, marketing it as a column-store, rapid-development query engine that allows “faceted searches” across lots of different, “jagged” data sets (i.e. data sets that don’t have the same data model but with some commonality between them). About a couple of years ago, Endeca took the core technology from this product and created a standalone BI tool called Endeca Latitude, complete with dashboard components, an ETL tool, dashboard and report designers, and a story that revolved around “agile BI”, based on the fact that the MDEX engine doesn’t require a strictly-defined data model. By the time of the Oracle acquisition, Endeca’s product line looked like this, with Endeca Infront, the product behind these websites, accounting for the majority of revenue.

  • Endeca technology primarily targets the following objectives.
  • Deliver targeted, user-centric experiences in a scalable way
  • Ingest any type of data from any source to power smarter, richer experiences
  • Guide and influence customers at each step of their experience to encourage   exploration and discovery
  • Allow business users to change the customer experience and dynamically push  updates—without engaging IT
  • Extend and manage the full breadth of Oracle Endeca’s Web commerce capabilities into multiple channels.
If you want to become a professional in Oracle Endeca Commerce, then enroll in our "Oracle Endeca Commerce Training" This course will help you to achieve excellence in this domain. 

Endeca Commerce Components

Oracle Endeca Commerce is comprised of three major components.
These components are:

  • Endeca Information Transformation Layer (ITL)
  • Endeca MDEX Engine
  • Endeca Application Tier

Endeca Commerce Components

Endeca Information Transformation Layer (ITL)

  • Reads your raw source data and manipulates it into a set of Oracle Endeca MDEX Engine indices.
  • The ITL consists of the Content Acquisition System (which includes the Endeca CAS Server and Console, the CAS API, and the Endeca Web Crawler), and the Data Foundry (which includes data-manipulation programs such as Forge).

Endeca MDEX Engine

  • The query engine is the core of Oracle Endeca Commerce which consists of the Indexer (Dgidx), the Dgraph, and the Agraph.
  • The MDEX Engine loads the indices generated by the indexing component of the Endeca Information Transformation Layer.
  • Although the Indexer (also known as Dgidx) is installed as part of the MDEX Engine package, in effect it is part of the ITL process.

MindMajix Youtube Channel

Endeca Application Tier

  • Reads your raw source data and manipulates it into a set of Oracle Endeca MDEX Engine indices.
  • The ITL consists of the Content Acquisition System (which includes the Endeca CAS Server and Console, the CAS API, and the Endeca Web Crawler), and the Data Foundry (which includes data-manipulation programs such as Forge).

Endeca Queries

  • Oracle Endeca Commerce uses two types of queries: navigation queries and keyword search queries.
  • Navigation queries return a set of records based on application-defined record characteristics (such as wine type or region in an online wine store), plus any follow-on query information.
  • Keyword search queries return a set of records or dimensions based on a user-defined keyword, plus any follow-on query information. For more information, see “Using Keyword Search.”

Endeca Records

  • Endeca records are the entities in your data set that you are navigating to or searching for.
  • Records are the fundamental units of data.
  • Attributes are the fundamental units of a record schema that describes the data model of Records.
Related Article: Oracle Endeca Commerce Interview Questions

Dimensions and dimension values

  • Dimensions provide the logical structure for organizing the records in your data set.
  • A dimension is a collection of related dimension values, organized into a tree. The top-most dimension value in a dimension tree is known as the dimension root. A dimension root always has the same name as its dimension.
  • A dimension is a collection of related dimension values, organized into a tree.
  • The top-most dimension value in a dimension tree is known as the dimension root.
  • A dimension root always has the same name as its dimension.

A Typical Dimension

Endeca Properties

  • Endeca properties are the basic attributes of an Endeca record.
  • Are usually generated from a record’s source properties, using source property mapping.
  • Consist of key/value pairs (property name/property value).
  • Can be searched and displayed.

Note:

The primary difference between Endeca properties and dimensions is that the MDEX Engine indices for dimensions support navigation, while those for Endeca properties do not.

Dimension hierarchy

  • Dimension hierarchy gives you additional control over the logical structure used to organize your Endeca records.
  • As the term “dimension tree” implies, dimension values can have parent and child dimension values.
  • A dimension value that has sub-dimension values is the parent of those sub-dimension values. The sub-dimension values themselves are children or child dimension values.

Child dimension values of the same parent dimension at the same level of the hierarchy are dimension value siblings.

Hierarchical Dimension

Flat Dimensions

Dimensions that have only one level of hierarchy beneath the dimension root are called flat dimensions

Flat Dimension

The one parent rule

It is possible for a dimension value to be simultaneously a child of one dimension value and the parent of other dimension values.

The one parent rule

Ancestors

In addition to parents, dimension values can have ancestors.

  • Ancestors represent the dimension values between the dimension root and your current location in the dimension tree (technically, a parent is an ancestor).
  • In the example below, Other and Fortified represent the ancestors for the Sherry dimension value.

Ancestors

Guided Navigation Basics

  • In its most basic form, a navigation query is a combination of one or more dimension values. These dimension values are referred to as the navigation descriptors.
  • A navigation query instructs the Endeca MDEX Engine to return the set of records that represent the intersection of all the dimension values that it contains.
  • Guided Navigation is the presentation of valid follow-on refinement queries to the user.

For example, in the illustration below, Bottle A represents the intersection between the Red and USA dimension values. Bottle C represents the intersection between the White and France dimension values.

Guided Navigation Basics

Record search

  • A record search query is Endeca’s equivalent to a full-text search.
  • Record searches return the following:
  • A set of records based on a user-defined keyword(s).
  • Follow-on query information, based on the returned record set.
  • Record search queries are performed against a particular property or dimension, also known as the search key. In order to perform a record search, the application’s user
  • Chooses an Endeca property or dimension to act as the search key.
  • Specifies a term, or terms, to search for within the key.

Dimension search

  • In addition to record search, the Endeca MDEX Engine supports the second type of keyword search called dimension search.
  • Dimension search queries return dimension values that have names that contain search term(s) the end-user has specified.
  • Unlike record search, dimension search does not require a search key.
  • Dimension search always searches any dimension values that have been identified as searchable for the terms provided.

Comparing dimension search and record search

  • Dimension search and record search each have their own strengths.
  • In general, you should:
  • Use dimension search when the search terms are included in your dimension hierarchy.
  • Use record search when you want to search unstructured data that is not part of the dimension hierarchy.
  • There are other search features that you can incorporate into your application.
  • Spelling functionality enables search queries to return expected results even though the user has misspelled the search term.
  • Did You Mean functionality allows you to provide your users suggestions for further record searches. Did You Mean is very useful when dealing with misspelled words or words that have exact matches that may not be as appropriate as other more popular alternatives.
  • Stemming and Thesaurus allow your Endeca application to consider alternate forms of individual words as an equivalent for the purpose of search querying.
  • For example, in many applications, it is desirable for singular nouns to match their plural
  • equivalents in the searchable text, and vice versa. This is an example of Stemming
  • The Thesaurus feature allows the system to return matches for related concepts to words or phrases contained in user queries. For example, one might configure a   thesaurus entry to allow searches for a cell phone to match text containing the phrase mobile phones
  • Relevance Ranking allows you to control the order in which results are returned. In particular, it is typically desirable to return results for the actual user query ahead of results for stemming and/or thesaurus transformed versions of the query.
Join our newsletter
inbox

Stay updated with our newsletter, packed with Tutorials, Interview Questions, How-to's, Tips & Tricks, Latest Trends & Updates, and more ➤ Straight to your inbox!

Course Schedule
NameDates
Oracle Endeca Commerce TrainingMar 23 to Apr 07View Details
Oracle Endeca Commerce TrainingMar 26 to Apr 10View Details
Oracle Endeca Commerce TrainingMar 30 to Apr 14View Details
Oracle Endeca Commerce TrainingApr 02 to Apr 17View Details
Last updated: 05 Jan 2024
About Author

Ravindra Savaram is a Technical Lead at Mindmajix.com. His passion lies in writing articles on the most popular IT platforms including Machine learning, DevOps, Data Science, Artificial Intelligence, RPA, Deep Learning, and so on. You can stay up to date on all these technologies by following him on LinkedIn and Twitter.

read more