承接 bvdputte/kirby-bettersearch 相关项目开发

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

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

bvdputte/kirby-bettersearch

最新稳定版本:2.1.3

Composer 安装命令:

composer require bvdputte/kirby-bettersearch

包简介

A search plugin for Kirby (v3+ that searches for full word combinations rather than just individual words.

README 文档

README

A search plugin for Kirby 3 that searches for full word combinations rather than just individual words.

Installation

  • unzip master.zip as folder site/plugins/kirby-bettersearch or
  • git submodule add https://github.com/bvdputte/kirby-bettersearch.git site/plugins/kirby-bettersearch or
  • composer require bvdputte/kirby-bettersearch

Usage

Instead of the default $pages search method, use $pages->bettersearch($querystring, $options) or $site->bettersearch($querystring, $options) instead.

Since we're looking for full query matches, following options have been removed:

  • stopwords
  • minlength
  • words

customIndexer

If you need to manipulate the content somehow, you can now pass a customIndexer function into the bettersearch function to alter the content.

Disclaimer

This plugin is provided "as is" with no guarantee. Use it at your own risk and always test it yourself before using it in a production environment. If you find any issues, please create a new issue.

License

MIT

It is discouraged to use this plugin in any project that promotes racism, sexism, homophobia, animal abuse, violence or any other form of hate speech.

统计信息

  • 总下载量: 3.58k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 22
  • 点击次数: 7
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2019-12-06