contextualcode/ezplatform-search-binary-extractor 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

contextualcode/ezplatform-search-binary-extractor

Composer 安装命令:

composer require contextualcode/ezplatform-search-binary-extractor

包简介

eZ Platform bundle which allows to index the content of binary files

README 文档

README

It was possible to use third-party binaries to index binary files in eZ Publish. This functionality is missing in the latest eZ Platform versions. And this bundle provides it.

Also, it provides an example of a binary extractor for PDF files. Which uses pdftotext third-party binary.

Installation

  1. Require contextualcode/ezplatform-search-binary-extractor via composer:

     composer require contextualcode/ezplatform-search-binary-extractor
    
  2. Your composer.json must have this line:

     "config": {
         "bin-dir": "bin/"
     }
    

Usage

First of all, please double check if "Searchable" checkbox is checked for binary file field types that need to be searchable.

After the bundle is installed, all the PDF files content will be indexed. And you would need to rebuild the search index by running:

php bin/console ezplatform:reindex

Also it is possible to build your own custom binary extractors. You just need to follow a few simple steps:

  1. Create a new service which implements BinaryExtractor. Please use BinaryExtractor\Pdf as an example.

  2. Tag your service with ezplatform.field_type.ezbinaryfile.binary_extractor tag.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: GPL-2.0-only
  • 更新时间: 2020-03-25

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固