mirror of
https://github.com/silverstripe/silverstripe-fulltextsearch
synced 2024-10-22 14:05:29 +02:00
3d18903552
Solr::configure_server now takes "version" as one of the keys in the option array, and behaves slightly differently depending on whether that version is 3 or 4, to provide support for both Solr versions. The Solr extras and templates have also moved, so that different versions can be provided for the two different Solr versions.
9 lines
155 B
PHP
9 lines
155 B
PHP
<?php
|
|
|
|
class Solr3Service_Core extends SolrService_Core {
|
|
}
|
|
|
|
class Solr3Service extends SolrService {
|
|
private static $core_class = 'Solr3Service_Core';
|
|
}
|