Download the PHP package zicht/solr-bundle without Composer

On this page you can find all versions of the php package zicht/solr-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package solr-bundle

zicht/solr-bundle

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

Features

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


All versions of solr-bundle with dependencies

PHP Build Version
Package Version
Requires php Version ^7.4 || ^8
doctrine/common Version ^2.2 || ^3
doctrine/orm Version ^2.13
guzzlehttp/guzzle Version ^6.3 || ^7
sonata-project/admin-bundle Version ^4
symfony/console Version ^5.4
symfony/framework-bundle Version ^5.4
zicht/framework-extra-bundle Version ^10
zicht/url-bundle Version ^7
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package zicht/solr-bundle contains the following files

Loading the files please wait ....