CP-Commerce Elasticsearch

CP-Commerce Elasticsearch

This module is for advanced customization of the Elasticsearch Indexer and Search Engine for Magento 2.3.  Unless you are familiar with Elasticsearch, you should discuss any changes with the CPCommerce team.

Configuration Options

Enabled - Yes/No, Default No

19009000.png

Enable or Disable all functionality

Number of Shards - Number between 1 and 10, Default 5

19008999.png

Number of shards for each store index. 

Higher numbers of shards increase performance/speed of search while decreasing the accuracy of the results. 

Lower numbers of shards are suitable for smaller catalogs where search relevance is the most important aspect.

How many shards are appropriate

Default Tokenizer -Default 'standard'

19008998.png

The standard tokenizer will break apart a string based on English grammar, breaks on whitespace, hyphens, punctuation, etc.

Standard tokenizer can cause problems with things like hyphens in SKUs, so you can change to whitespace only in that case.

Tokenizer Reference

Synonyms

19009001.png

Synonyms allow you to enter various phrases that should all be considered identical in indexing and search. 

E.g. if your data has "ipod" and someone searches for "i pod" or "i-pod" you can add a synonym to make sure those items are scored as if the end user typed the correct spelling/phrasing that you have in your data.

Synonym Token Filter Reference

 Ngram Attributes

19009002.png

By default, all string data is broken apart based on the tokenizer above.  This limits the ability to find partial matches in your data.  Ngram attributes are the attributes you want to allow partial matches for.

E.g. If your data contains an item named "Yellow Shirt" and you want someone to be able to find that item by search for "yell shir" you would need to use ngram attributes for that search to match.

This is also useful for partial sku matches if your sku conventions contain some grouping mechanism

E.g. A sku of APPR1230 or APPR3010, you would use ngram on SKU to allow someone to search for APPR and find apparel skus.  You could combine this with synonyms to have APPR be a synonym for apparel, which would allow APPR skus to match a search for apparel.

N-gram Tokenzier Reference


    • Related Articles

    • What is CP-Commerce?

      CP-Commerce is a hosted integration platform that allows businesses to link their brick and mortar ERP system to an online ecommerce website. Currently the integration supports NCR Counterpoint 8.4.6+ as the brick and mortar ERP system and Magento ...
    • CP-Commerce Catalog Mode

      The CP-Commerce Catalog Mode module allows you to disable the cart and checkout on the site. This can be helpful if your store has a temporary closing, or does not take sales. Admin Configuration Differences Admin Configuration In Stores> ...
    • Guide to Getting Started with CP-Commerce

      We're glad you've decided to get started on your journey with CP-Commerce. Whether you're new to the Ecommerce world, or finally connecting your already successful Ecommerce website, we're here to help you prepare so we can get things running ...
    • Event Tickets: Create Your Event with CP-Commerce

      Overview We are excited to help you create your online event and start selling tickets through the webstore. In this article, we will outline the flow of how your events will sync between platforms and the general steps to create your events. With ...
    • How to Reconnect Your New Counterpoint Server to CP-Commerce

      Occasionally you may need to move your Counterpoint server onto another machine. When you do, you will need to connect your new Counterpoint server to the CP-Commerce sync. The sync is installed on our separate dedicated servers, the only ...