You are here

public function apachesolr_views_handler_filter_string::operators in Apache Solr Views 7

Override the operators provided from the parent class.

Overrides views_handler_filter_string::operators

File

handlers/apachesolr_views_handler_filter_string.inc, line 13
Sring filter handler for Apache Solr Views.

Class

apachesolr_views_handler_filter_string
@file Sring filter handler for Apache Solr Views.

Code

public function operators() {
  $operators = parent::operators();
  foreach (array(
    'shorterthan',
    'longerthan',
    'regular_expression',
    'contains',
    'ends',
    'not_ends',
  ) as $key) {
    if (isset($operators[$key])) {
      unset($operators[$key]);
    }
  }
  return $operators;
}