sidus/elastica-filter-bundle 问题修复 & 功能扩展

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

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

sidus/elastica-filter-bundle

Composer 安装命令:

composer require sidus/elastica-filter-bundle

包简介

Extension for sidus/filter-bundle to handle Elastic Search index search

README 文档

README

This bundle is an extension for sidus/filter-bundle that enables Elastic Search index search in query handlers.

Installation

Follow FOS/ElasticaBundle's installation guide

Configuration

Configure your indexes corresponding to the data you want to search for.

In your filter configuration, set the provider to sidus.elastica and in the options, set the reference option to fos_elastica.finder.{{name_of_your_index}}.{{name_of_your_type}}

Example

Example with a Doctrine ORM entity:

fos_elastica:
    indexes:
        my_index:
            types:
                my_type:
                    properties:
                        id:
                            type: integer
                        label:
                            type: keyword
                    persistence:
                        driver: orm
                        model: MyBundle\Entity\MyEntity

Filter configuration:

sidus_filter:
    configurations:
        my_entity:
            provider: sidus.elastica
            options:
                reference: fos_elastica.finder.my_index.my_type
            sortable:
                - id
                - label
            filters:
                label: ~

Supported filters

@todo

Choice

Date range

Text

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-01-11

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固