10016---SolrFacetSearch - Changes from 5.6 to 5.7

Below you can find information about the changes that have been made to the solrfacetsearch extension for version 5.7.

Validity

This document is valid for users who use the 5.7 hybris version.

Overview

The hybris version 5.7 introduces new features to the solrfacetsearch extension. The most important areas of improvement are:

///---///

  • Solr Server: the embedded mode was removed and the Solr server was updated to version 5.3;
  • Indexing and Search: new indexing and search mechanisms were introduced, see below how to easily enable or disable the new mechanisms;
  • solrfacetsearch extension: major refactoring along with the changes in the source code.

    Below you will find details of the changes introduced for hybris version 5.7.

    Solr Server

    Due to the fact that Solr has deprecated the embedded mode and in order to support the most current version of Solr server,

     the embedded mode and embedded Solr server were removed. It means that every environment still using the embedded

     mode should be migrated accordingly. To make the transition easier we have introduced the solrserver extension. 

    This extension includes a standalone Solr server which may be automatically configured, started and stopped together with the Platform.

  • Solr Server: the embedded mode was removed and the Solr server was updated to version 5.3;
  • Indexing and Search: new indexing and search mechanisms were introduced, see below how to easily enable or disable the new mechanisms;
  • solrfacetsearch extension: major refactoring along with the changes in the source code.
    Below you will find useful information on migrating a configuration from embedded mode to standalone mode.


    1

    Configure a standalone Solr server.


  • SolrFacetSearch - Installation Guide


    2

    You cannot update the existing SolrServerConfig object because the attribute mode is write protected. 

    A new SolrServerConfig object needs to be created with the mode attribute set to standalone.

    Example:
     

    • ImpEx before:
    INSERT_UPDATE SolrServerConfig;name[unique=true];mode(code);embeddedMaster
    ;electronicsSolrServerConfig;embedded;true

    • ImpEx after:
    INSERT_UPDATE SolrServerConfig;name[unique=true];mode(code);embeddedMaster
    ;electronicsSolrServerConfig;standalone;false;
    
    INSERT_UPDATE SolrEndpointUrl;solrServerConfig(name)[unique=true];url[unique=true];master[unique=true,default=false]
    ;electronicsSolrServerConfig;http://localhost:8983/solr;true
    3 Make sure your SolrFacetSearchConfig object uses the new SolrServerConfig object.
                             Managing Solr Search Configuration
    4

    Perform the reindexing operation.

           Updating Solr Index 
           Updating Solr Index (Backoffice) 

    SolrClient Instead of SolrServer

    The way in which the platform communicates with Solr server was also changed internally. The SolrServer type has been completely removed and SolrClient type should be used instead.

    Indexer Config

    The IndexConfig type has a new attribute called legacyMode which controls how the index process behaves. 

    The default value for the legacyMode attribute is false.
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值