You are here

SearchApiSolrMultilingualBackend.php in Search API Multilingual Solr Search 8

File

src/Plugin/search_api/backend/SearchApiSolrMultilingualBackend.php
View source
<?php

namespace Drupal\search_api_solr_multilingual\Plugin\search_api\backend;


/**
 * @SearchApiBackend(
 *   id = "search_api_solr_multilingual",
 *   label = @Translation("Multilingual Solr"),
 *   description = @Translation("Index items using an Solr search server configured for multilingual content.")
 * )
 */
class SearchApiSolrMultilingualBackend extends AbstractSearchApiSolrMultilingualBackend {

  /**
   * {@inheritdoc}
   */
  protected function createSolrDynamicField($solr_field_name, $solr_field_type_name) {

    // @todo configurable kind of error message and log entry and status report
    return FALSE;
  }

  /**
   * {@inheritdoc}
   */
  protected function createSolrMultilingualFieldType($solr_field_type_name) {

    // @todo configurable kind of error message and log entry and status report
    return FALSE;
  }

}

Classes

Namesort descending Description
SearchApiSolrMultilingualBackend Plugin annotation @SearchApiBackend( id = "search_api_solr_multilingual", label = @Translation("Multilingual Solr"), description = @Translation("Index items using an Solr search server configured for multilingual content.") )