承接 zicht/solr-bundle 相关项目开发

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

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

zicht/solr-bundle

最新稳定版本:8.0.1

Composer 安装命令:

composer require zicht/solr-bundle

包简介

Solr utilities for Symfony

README 文档

README

Provides a layer to index and search content in a SOLR instance.

Features

  • Easy bridge for syncing data from doctrine entities to SOLR
  • Base class template for creating faceted search engines
  • Command line interface for accessing the solr instance

Indexing

TODO: write a small tutorial on how to setup indexing

Update

The /update endpoint of SOLR accepts a simple post of text fields to index a document. TODO: Add a explaining part on how to use the Update query

Extract

The /update/extract endpoint of SOLR accepts a simple post of text fields and additionally PDF, DOC, DOCX and other types.

For further explanation refer to the documentation of SOLR covering this. https://lucene.apache.org/solr/guide/6_6/uploading-data-with-solr-cell-using-apache-tika.html

In short. All the text fields covered by the /update endpoint are prefixed with literal. so id becomes literal.id. The field to which you want SOLR to map the title and contents of the document should be declared. Our Extract query does default map the field title extracted from the document to document_file_title and the content field is mapped to document_file_content. These fields can be copied to the desired fields in the schema of your SOLR config. The choice to separate these fields is to give you control in terms of mapping and searching through these fields.

Use this <copyField source="document_file_content" dest="content"/> in your schema to define the document_file_content copied to your default content field to say enable searching in content just like all other documents in a search.

Mapping

TODO: Write documentation about mapping documents to SOLR

Searching

TODO: Write documentation about using SOLR for searching purposes.

Maintainers

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-04-17