Solr Drupal 8


We created an easy example to run Drupal 8 with Search API and Solr 8.

Solr on Drupal 8 requires a Composer managed workflow, as described in our Build Tools and Composer without CI guides. Since one module relies on Solarium, an external library, in addition to Composer's autoloader, we cannot support non-Composer workflows for Solr on Drupal 8. For details, see this issue. Install Solr on Drupal 8. Documentation for Drupal. Celebrate 20 years of Drupal with us! April is DrupalFest, a month-long series of virtual events focused on community, contribution, and the positive impacts made possible with Drupal. The Search API Solr Search module has a bunch of controls for boosting certain fields. This allows you to give more weight (i.e. Boost) to the title and less weight to the body, which means that when a search term appears in the title of a page it has more weight than a page that only has the term in the body. This weight value is ultimately used to calculate the score of the page and this. Solr Multiphrase query not able to generate result even when the token was present 0 Does HTMLStripCharFilterFactory @ Solr 3.4 strip out html for returned fields?


Drupal 8 Download

We use the latest version of Drupal Core (8.7.9), Search API Solr (8.3.7) and Solr 8 to run a simple sandbox project to test and play around.


Drupal 8 Solr Setup

The current project can be run using a custom configuration or using tour example configuration (recommended).

Drupal 8 Solr Top Searches


We use a the Wodby Docker4Drupal image to run a project based on Composer template for Drupal projects

Drupal 8 Release

The Solr 8 example template works fine, but you can add a per-language translation configuration (like Spanish). You can read more about it on the official Language Analysis documentation.

Drupal 8 Tutorial

We created a git repository cotnaining a template to run the project. You will find all the required steps and explanations on the document.

Drupal 8 Solr Query Programmatically

To review and test the project, follow this link: