Download the PHP package pantheon-systems/search_api_pantheon without Composer

On this page you can find all versions of the php package pantheon-systems/search_api_pantheon. 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 search_api_pantheon

Search API Pantheon: Solr 8 & Drupal 9.4+ Integration

Search API Pantheon Actively Maintained

Important Notice - Schema Reversion Prevention

Starting with version 8.2, this module includes critical fixes to prevent Solr schema reversions that could cause:

Users experiencing these issues should upgrade immediately to version 8.1.x-dev.

Requirements

This module is for you if you meet the following requirements:

Intent

This module is meant to simplify the usage of Search API and Search API Solr on Pantheon's Platform.

Search API Solr provides the ability to connect to any Solr server by providing numerous configuration options. This module automatically sets the Solr connection options by extending the plugin from Search API Solr. The module also changes its connection information based on different Pantheon environments and each Pantheon Environment has its own SOLR CORE. Doing so eliminates the need to do extra work setting up Solr servers for each environment.

What it provides

This module provides Drupal 9.4+ integration with the Apache Solr project. Pantheon's current version as of the update of this document is 8.11.4.

Composer

Composer is the way you should be managing your drupal module requirements. This module will install its dependencies when you use composer to install.

Dependencies (installed by Composer):

Install

Stable Release

To install this module via composer, run the following command in your Drupal root:

Development Version

Note that the above will install the latest stable release of this module. To install the latest development version, use:

Setup

Platform Support

See Drupal.org for complete documentation on Search API. To configure the connection with Pantheon, perform the following steps on your Dev environment (or a Multidev):

Enable Solr on your Pantheon site

Enable Solr 8 in your pantheon.yml file

Core Reloading

Automatic Core Reload

Starting with version 8.1.x, Search API Pantheon automatically reloads the Solr core after schema updates to prevent schema reversions and maintain index integrity.

Schema Updates

Schema updates can be performed through:

Manual Core Reload

If needed, manually reload the core using:

Usage

Enable the modules

OPTIONAL: Disable Drupal Core's search module

The module should install a SEARCH API server for you

Solr versions and schemas

Use the server with an index

The following steps are not Pantheon-specific. This module only alters the the configuration of Search API servers. To use a server, you next need to create an index.

Search the Index

Export your changes

Optional Installs

Any of the optional search_api modules should work without issue with Pantheon Solr, including but not limited to:

Pantheon Environments

Each Pantheon environment (Dev, Test, Live, and Multidevs) has its own Solr server. Indexing and searching in one environment does not impact any other environment.

Solr Jargon

Term Definition
Commit To make document changes permanent in the index.
Core An instance of the Solr server suitable for creating zero or more indices.
Collection Solr Cloud's version of a "CORE". Not currently used at Pantheon.
Document A group of fields and their values. The basic unit of data in a collection.
Facet The arrangement of search results into categories based on indexed terms.
Field The content to be indexed/searched along with metadata.
Index A group of metadata entries gathered by Solr into a searchable catalog.
Schema A series of plain text and XML files that describe the data Solr will be indexing.

Troubleshooting

Schema Reversion Issues

If you experience schema reversion issues:

  1. Verify you're using version 8.1.x-dev or later
  2. Check that core reloading is functioning after schema updates
  3. Monitor the Drupal logs for schema update messages
  4. Use drush search-api-pantheon:diagnose to verify configuration

Common Issues

Issue Solution
Schema reverts unexpectedly Ensure core reload is happening after updates
Search index corruption Try reposting schema and reindexing content
Core reload failures Check Solr logs and connection status

Diagnostic Commands

The current default schema on Pantheon when a new Solr container is provisioned is the 4.2.1 version of the solr8 jump-start config set provided by the Search API Solr module. To upgrade the default Pantheon solr 8 server to a version 4.3.0+ compatible config set, run the following command after you've upgraded the Search API Solr module to your desired version.

drush search-api-pantheon:postSchema pantheon_solr8 /code/web/modules/contrib/search_api_solr/jump-start/solr8/config-set/

Once you have enabled the Search API Pantheon module, when you reload the schema the Pantheon module will use the config-set for the version of the Search API Solr module installed in your codebase. See the Search API Solr 4.3.0 release notes for more information about upgrading to a 4.3.0+ compatible schema.

Feedback and Collaboration

Bug reports, feature requests, and feedback should be posted in the drupal.org issue queue. For code changes, please submit pull requests against the GitHub repository.


All versions of search_api_pantheon with dependencies

PHP Build Version
Package Version
Requires php Version >=8.1
ext-curl Version *
ext-json Version *
ext-zip Version *
drupal/search_api_solr Version ^4.3
guzzlehttp/guzzle Version ^7.5
kint-php/kint Version ^5|^6
php-http/guzzle7-adapter Version ^1.1
psr/event-dispatcher Version ^1.0
symfony/finder Version ^4.4|^5|^6|^7
symfony/yaml Version ^4.4|^5|^6|^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 pantheon-systems/search_api_pantheon contains the following files

Loading the files please wait ....