Download the PHP package nyeholt/silverstripe-extensible-elastic without Composer

On this page you can find all versions of the php package nyeholt/silverstripe-extensible-elastic. 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-extensible-elastic

Elastic Extensible Search

An extensible search implementation for Elastic Search.

Installation

composer require nyeholt/silverstripe-extensible-elastic

NOTE: if using filters on your search page, or outputting the Score in results, you'll need the following patch

https://gist.github.com/nyeholt/47be9e689b069375215c96f8ee3f865f

Configuration

Add the following to your project's config

To add additional types for selection in an extensible search page config; note namespaces are supported.

Run /dev/tasks/Symbiote-ElasticSearch-VersionedReindexTask

Note: Reindex will ONLY reindex items that have the Searchable extension applied. There's also a DataDiscovery extension that will grab taxonomy terms if available.

API

To define your own custom field structures in the elastic index, you need to

Details

How do I use the BoostTerms field?

BoostTerms are used for subsequent querying, either direct through the builder or by the "Boost values" and "Boost fields with field/value matches" options on the Extensible Search Page.

The field hint states to use the word "important" in this field to boost the record super high in result sets. This requires you to set the "Boost fields with field/value matches" to have an entry of

BoostTerms:important : 10

in the search page to boost records with that set. Additionally, set the "Boost values" for BoostTerms to be higher than all other fields for any match to contribute highly.

Why the separate ElasticaSearchable extension?

The base Heyday Elastic module doesn't handle indexing of Versioned content directly; ElasticaSearchable provides a few overrides that take into account versioned content.

Can I get rid of stale results?

You can prune old results by creating the PruneStaleResultsJob ; this takes as parameters


All versions of silverstripe-extensible-elastic with dependencies

PHP Build Version
Package Version
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 nyeholt/silverstripe-extensible-elastic contains the following files

Loading the files please wait ....