定制 axllent/silverstripe-ftsearch 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

axllent/silverstripe-ftsearch

最新稳定版本:1.2.1

Composer 安装命令:

composer require axllent/silverstripe-ftsearch

包简介

Flexible full-text searching for SilverStripe

README 文档

README

FTSearch enables you to easily build your own custom full-text search of all/any of your Silverstripe website's pages and/or DataObjects.

It generally requires no modifications to your code (see Configuration), and allows you to include and DataObject's relations (has_one, has_many, many_many, belongs_to etc).

Features

  • Easily determine which DataObjects to automatically index
  • Include object relations (has_one, has_many, many_many, belongs_to etc)
  • Supports Versioned DataObjects
  • Full-text weight - search index has two fields, SearchTitle & SearchContent
  • Saving/deleting, publishing, unpublishing of indexed or relating DataObjects triggers re-index of DataObject
  • Search results return an ArrayList with SearchTitle, SearchContent, Excerpt (optionally highlighted to set length), Link, and the original Object
  • BuildTask to manually re-populate your search database based on your configuration

It does not include a search interface / controller as this is generally custom, and easy to implement in your controller (see Searching the Database).

Requirements

  • Silverstripe ^4 || ^5
  • MySQL or MariaDB as your database engine

Documentation

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-07-21