Skip to content

Commit 6e00c17

Browse files
committed
Indexing and deleting documents works!
1 parent 03bffa1 commit 6e00c17

File tree

3 files changed

+163
-114
lines changed

3 files changed

+163
-114
lines changed

CHANGELOG.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Search API Solr search 1.x, dev (xx/xx/xxxx):
22
---------------------------------------------
33
- Starting the 8.x port.
4-
- @todo Do we need to use https://github.com/cpliakas/solarium-luke for viewSettings()?
5-
- @todo Update deleteItems() and implement deleteAllItems().
4+
- @todo Finish https://github.com/basdenooijer/solarium/pull/155 and start a new
5+
pull request for 'admin/luke'.

search_api_solr.module

+2-1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
use Drupal\search_api\Exception\SearchApiException;
99
use Drupal\search_api\Server\ServerInterface;
10+
use Drupal\search_api\Utility\Utility;
1011
use Symfony\Component\HttpFoundation\Request;
1112

1213
/**
@@ -150,7 +151,7 @@ function search_api_solr_get_data_type_info($type = NULL) {
150151

151152
if (!isset($types)) {
152153
// Grab the stock search_api data types.
153-
$types = search_api_get_data_type_info();
154+
$types = Utility::getDataTypeInfo();
154155

155156
// Add our extras for the default search api fields.
156157
$types += array(

0 commit comments

Comments
 (0)