Download the PHP package signify-nz/silverstripe-solr-search without Composer

On this page you can find all versions of the php package signify-nz/silverstripe-solr-search. 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 silverstripe-solr-search

SilverStripe Solr Search

Advanced, Solr-powered search for SilverStripe 4 and 5, built on Solarium. Define what to index in PHP, configure connections in YAML, and query Solr with a fluent API.

Based on firesphere/solr-search. This is the signify-nz maintained fork.

Features

Requirements

Installation

See docs/01-Installation.md for details.

Quick start

1. Configure the Solr connection

Connection details are set in YAML. Defaults assume a Solr instance on localhost:8983, so this step can be skipped for local development.

See docs/03-Set-up-and-Configuration.md for authentication, config stores and all available options.

2. Define an index

Create an index extending Firesphere\SolrSearch\Indexes\BaseIndex. The init() method declares what is indexed; getIndexName() names the Solr core.

3. Configure the core and index your content

Make sure the queued-jobs runner is processing jobs (and restart long-running workers after deploying code changes, so they pick up the new classes).

4. Run a search

5. Render the results

A fuller example (facets, sorting, spellcheck) is in docs/04-Searching.md.

Tasks

Task Purpose
SolrConfigureTask Generate and upload the core configuration/schema to Solr.
SolrIndexTask Queue a job to (re)index content into existing cores.
FullSolrIndexTask Queue a full reindex of all indexes and classes.
ClearDirtyClassesTask Re-process records that previously failed to index (see Dirty classes).
ClearErrorsTask Clear recorded indexing errors.

Indexing reads from the live stage, so only published content is added to the search index. A standard SolrIndexTask adds/updates documents but does not clear the core, so after changing index definitions run SolrConfigureTask (or a clearing reindex) to drop stale documents.

Key concepts

Documentation

Full documentation lives in the docs folder:

Please read the documentation before raising questions — most are answered there.

Solr version support

Solr version Status
4 Backward compatible
8 Default / recommended
9 Supported

Solarium

This module is built on Solarium; its documentation is a useful reference for lower-level query behaviour.

Contributing

Contributions are welcome — please raise an issue and, ideally, an accompanying pull request. See the code of conduct and contributing guide.

Security

Please report security issues responsibly as described in our security policy.

License

LGPL v3.

Disclaimer

If this module breaks your website, you get to keep all the pieces.


All versions of silverstripe-solr-search with dependencies

PHP Build Version
Package Version
Requires php Version >=7.3
php-http/discovery Version ^1.14
ext-json Version *
silverstripe/framework Version ^4|^5
symbiote/silverstripe-queuedjobs Version ^4|^5
solarium/solarium Version ^6.0
minimalcode/search Version ^1.0
guzzlehttp/guzzle Version ^6.3|^7
http-interop/http-factory-guzzle Version ^1
symfony/event-dispatcher Version ^5.4|^6
php-http/guzzle7-adapter Version ^1.0.0
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 signify-nz/silverstripe-solr-search contains the following files

Loading the files please wait ...