Read More
Read More
Menu Close

    Guide for Odoo Smart Search using Elasticsearch

    INTRODUCTION

    Advanced searches with Odoo Smart Search using Elasticsearch!

    The search bar helps find products effortlessly and conveniently. However, writing the full name to search product is not sound for a good user experience. It will be convenient when users can get search and popular suggestions while searching for products.

    Elasticsearch is a full-text search and analytics engine that provides real-time search results on the website. Moreover, it can search results to the search query much faster than the PostgreSQL database based on the index.

    Odoo Smart Search using Elasticsearch allows you to efficiently search through the nook and corners to return results in a fraction of the time. Also, the module helps you show results faster on the Odoo website using Elasticsearch.

    In addition, you can enable auto-completion, suggestions, recent searches, and trending searches in the search bar on the Odoo website. Further, define the data fields to import from the Odoo server to the Elasticsearch server. Also, retrieve product mapping history for debugging purposes.

    Searching for an experienced
    Odoo Company ?
    Read More

    FEATURES

    1. Shows fast results for the searched terms on the Odoo website via Odoo Smart Search using Elasticsearch.
    2. Also, the admin can map trending searches with the search results from the Odoo backend.
    3. Mapped searches are shown to customers while hovering over the search box while typing a search term.
    4. It provides auto-completion suggestion features while entering the search term.
    5. Similarly, the admin can enable recent searches so the customer can view them while hovering over the search box.
    6. The module shows real-time search suggestions to customers while typing product names.
    7. Schedule cron to automatically update the index from time to time for new products on the website.
    8. Also, the admin can choose and enter the fields they want to be indexed by Elasticsearch.
    9. Also, you can set the values of the fields you want to index.
    10. It also allows adding the filter to the results shown on the website for any entered query. For example, hiding out-of-stock products from the search results.
    11. Moreover, you can customize the hover box from the Odoo backend and include or exclude the product details.
    12. The mapping history of all products is available in the Odoo backend.

    INSTALLATION

    1. Once you purchase the App from Webkul store, you will receive the link to download the zip file of the module.
    2. Extract the file on your system after the download finishes. You will be able to see a folder named- ‘odoo_elasticsearch.’
    3. Copy and paste this folder inside your Odoo Add-Ons path.
    4. Now, open the Odoo App and click on the Settings menu. Here, click on Activate the Developer Mode.
    5. Then, open the Apps menu and click on ‘Update Modules List.’
    6. In the search bar, remove all the filters and search ‘odoo_elasticsearch.’
    7. You will be able to see the module in the search result. Click on ‘Install’ to install it.

    WORKFLOW

    Let’s move to the configuration of Odoo Smart Search Using Elasticsearch.

    CONFIGURATION

    1. Firstly, log in to the Odoo backend and go to ‘Elastic Search> Elastic Index Mapping> Create.’

    Creating-Index-mapping-in-Odoo-backend-1.

    2. On the new page, fill in the details, select data from the ‘Field Details’ tab, and click the ‘Save’ button.

    Creating-Index-mapping-in-Odoo-backend-2.

    3. After saving, click the ‘Forcely Update or Create/Update Index’ as per requirement.

    Viewing-index-updating-or-creating-options-in-Odoo.

    3.1. On clicking ‘Forcely Update,’ a pop will appear on the screen showing a successful update message.

    Forecely-updating-mapping-in-Odoo.

    3.2. When you click the ‘Create/Update Index,’ a pop-up will appear on the screen about successful creation or update.

    Creating-or-updating-index-in-Odoo-backend.

    4. After creating or updating the index, you can view the mapping by clicking the ‘Record Mapping’ option. 

    Locating-mappings-in-Odoo-backend.

    5. On the next page, you can view all the mappings.

    Viewing-index-mappings-in-the-Odoo-backend.

    6. Now, move to ‘Configuration> Connection Settings> Create.’

    Configuring-Odoo-Smart-Search-using-Elasticsearch-1.

    7. Fill in the details of the page and click the ‘Save’ button.

    Configuring-Odoo-Smart-Search-using-Elasticsearch-2.

    8. After saving, you can test the connection with the ‘Test Connection’ button.

    Configuring-Odoo-Smart-Search-using-Elasticsearch-3.

    9. Once you test the connection, go to ‘Configuration> Elastic Setting> Create.’

    Configuring-Odoo-Smart-Search-using-Elasticsearch-4.

    10. Next, enter the name under the ‘Website Settings’ tab, and configure the settings under it as per your need.

    Configuring-Odoo-Smart-Search-using-Elasticsearch-5.

    11. Move to the ‘Advance Settings’ tab, fill in auto-completion options and define the ‘Searching Algorithm.’

    Configuring-Odoo-Smart-Search-using-Elasticsearch-6.

    12. Next, configure the ‘Cron Settings’ tab.

    Configuring-Odoo-Smart-Search-using-Elasticsearch-7.

    13. Lastly, open the ‘Elastic Indexes’ tab and click ‘Add a Line’ to add the index.

    Configuring-Odoo-Smart-Search-using-Elasticsearch-8.

    WEBSITE VIEW

    14. On the website, go to the ‘Shop’ page, enter some words, and Elasticsearch will show the suggestion as per the entered words.

    Odoo-Smart-Search-using-Elasticsearch-on-website-1.

    15. Also, if you hover over or click the search bar, you can view the recent searches. 

    Odoo-Smart-Search-using-Elasticsearch-on-website-2.

    16. On searching for a product name, you will see the related products list below the search bar.

    Odoo-Smart-Search-using-Elasticsearch-on-website-3.

    OTHER ODOO WEBSITE MODULES

    NEED HELP?

    Hope you find the guide helpful! Please feel free to share your feedback in the comments below.

    If you still have any issues/queries regarding the module, please raise a ticket at https://webkul.uvdesk.com/en/customer/create-ticket/.

    Also, please explore our Odoo development services & an extensive range of quality Odoo Apps.

    For any doubt, contact us at [email protected].

    Thanks for paying attention!!

    Current Product Version - 1.0.0

    Supported Framework Version - V15, V14, V13

    . . .
    Discuss on Helpdesk

    Leave a Comment

    Your email address will not be published. Required fields are marked*


    Be the first to comment.

    Back to Top