Install
Works with Drupal: 8.xUsing Composer to manage Drupal site dependencies
Alternative installation files
Release notes
This is the second beta release release of the Search API Solr Search module's D8 version. The minimum "officially supported" Solr version is still 4.5.1. The latest supported Solr version is 6.4.2.
Any newer Solr version might work for you, but there're know issues at the moment, for example #2869529: Autocomplete (and spell checking) is broken on Solr 6.5.x, Solr 6.6 will solve the issue.
This release only works in combination with search_api 8.x-1.0-rc2!
The most important change compared to the alpha releases is the introduction of SolrConnector classes that allow Solr providers to do their specific adjustments without hacking the Solr backend class anymore. Local and standard installations will be supported by this module out of the box. An corresponding upgrade path is included. For other installations you can check these issues:
- Acquia: #2817387: Provide a proper SolrConnector plugin
- Pantheon: #2821770: Pantheon Connector: Plan for next release?
- Open Solr: #2819821: OpenSolr Support
If you update an existing installation, the first thing you should do is to deploy the latest Solr config files from the module's solr-conf folder and afterwards delete all the data from the index and start a re-indexing process!
The API is almost complete now and the essential stuff seems to work very well, but we still have incomplete or erroneous features like auto complete, more like this, suggestions, location, etc.
Complete list of changes since beta1:
- Issue #2869533 by mkalkbrenner: #2869533: Stats broken since Solr 6.4.0
- Issue #2869516 by mkalkbrenner: #2869516: Update solarium to 3.8
- Issue #2869514 by mkalkbrenner: #2869514: include extraction libs in Solr 4 by default.
- Issue #2869509 by mkalkbrenner: #2869509: The handling of libraries in the Solr 5 default config is outdated
- Issue #2841826 by umed91, mkalkbrenner: #2841826: Fix PHP Code Sniffer issues.
- Issue #2869441 by mkalkbrenner: #2869441: Property solr.contrib.dir has to be removed for Solr 6, use solr.install.dir instead
- Issue #2863002 by mkalkbrenner: #2863002: Allow editing multiple virtual index on one server for backward compatibility
- Issue #2868315 by mkalkbrenner: #2868315: Use core 8.3.x on travis
- Issue #2868209 by ayalon, mkalkbrenner: #2868209: Search API rc1 compatibility, some utility functions became services
- Issue #2862355 by FeyP: #2862355: Use DevelDumperManager in DevelController instead of kprint_r()
- Issue #2857878 by mkalkbrenner: #2857878: IntegrationTest::testIntegerIndex Error: Call to a member function clear() on null
- Issue #2847092 by Dane Powell, drunken monkey: #2847092: Data of read-only indexes is deleted when they are removed from the server
- Issue #2835770 by sardara, pfrenssen: #2835770: Cannot subscribe to Solarium events
- Issue #2836954 by mkalkbrenner: #2836954: Fatal error: Trait 'Drupal\facets\Tests\BlockTestTrait' not found
- Issue #2817773 by mkalkbrenner: #2817773: MaxBytesLengthExceededException on sort_rendered_item
- Issue #2831801 by ekes, mkalkbrenner: #2831801: Add support for extract to Connector API
- Issue #2790249 by mkalkbrenner, Hydra, stBorchert, ressa, dawehner, Punk_UnDeaD: #2790249: Search API Autocomplete support
- Issue #2812861 by mkalkbrenner: #2812861: Error in getBoost() function when using integers datatype as field index
- Issue #2827045 by mkalkbrenner: #2827045: Port Simpletest web tests to BrowserTestBase tests
- Issue #2828204 by acrosman, oknate: #2828204: isAvailable method on SearchApiSolrBackend gives false positive
- Issue #2826146 by Hydra: #2826146: Be compatible with Search API DB regarding empty and non-existing values
- Issue #2826146 by mkalkbrenner: #2826146: Be compatible with Search API DB regarding empty and non-existing values
- Issue #2825086 by mkalkbrenner: #2825086: Results for sorting by missing fields differs from DB backend
- Issue #2824904 by mkalkbrenner: #2824904: SolrConnector: commitWithin should be configurable
- Issue #2824237 by mkalkbrenner: #2824237: Regression testing for #2616804 fails on Solr
- Issue #2823540 by sch4lly, mkalkbrenner, Berdir: #2823540: SearchApiSolrBackend::setMoreLikeThis() accesses non-existing solr property
- Issue #2824902 by mkalkbrenner: #2824902: Update to Solarium 3.7.x
- Issue #2822252 by mkalkbrenner: #2822252: clear any index on test tear down
- Issue #2822248 by mkalkbrenner: #2822248: Execute ContentAccessTest on Solr backend
- Issue #2801765 by mkalkbrenner: #2801765: Hierarchical entity references must be treated as multiValued field
- Issue #2820514 by mkalkbrenner: #2820514: Improve server entity view and add connector-specific information
- Issue #2820244 by mkalkbrenner, drunken monkey: #2820244: Illegal choice when adding servers
- Issue #2820029 by mkalkbrenner: #2820029: Impossible to add servers
- Issue #2727807 by mkalkbrenner, blazey: #2727807: Verify sort by date, add tests
- Issue #2743917 by blazey, mkalkbrenner: #2743917: Use Solarium's utilities for date conversions
- Issue #2809429 by blazey, cristiroma: #2809429: Error while indexing fulltext fields with values larger than 32766 characters