定制 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
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

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

其他信息

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

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固