承接 zero1/search-query-optimization 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

zero1/search-query-optimization

最新稳定版本:1.0.4

Composer 安装命令:

composer require zero1/search-query-optimization

包简介

README 文档

README

Description

This module is designed to optimize a few things around the "suggested search terms" returned by Magento when typing in the search bar at the top of the page. The current optimizations are:

  • increase default cache size of these results from 100 => 1000
  • implements a decay functionality to the search_query table (see Decay Function)

Decay Function

When a user searches for a term, Magento adds this term to the search_query table. When another search for the same term happens Magento increments the popularity of the term. This allows Magento to return "the most popular" results for the term being searched for. However Magento does not implement any way of clearing down these search terms automatically, leaving you with a table that only ever grows. Which means the response time will increase (larger table ~= longer response times).

This module runs a cronjob every minute that looks for any records that haven't been used in the last "Decay Days" (see settings), don't have a redirect and haven't been processed. It will then decrement the popularity of the term. If the term is at popularity 0, it will be removed from the table.

Settings

Name Location Default Value Description
Decay Days Stores => Configuration => Catalog Catalog => Catalog Search 30

Commands

Decay

The decay function can be ran manually

php bin/magento zero1:search-query-optimization:decay

统计信息

  • 总下载量: 319
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 3
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 3
  • Watchers: 2
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-3.0-or-later
  • 更新时间: 2022-08-10

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固