You are here

function apachesolr_views_handler_field_snippet::option_definition in Apache Solr Views 6

File

handlers/apachesolr_views_handler_field_snippet.inc, line 9
provides a field handler for the snippet coming from the ApacheSolr search engine

Class

apachesolr_views_handler_field_snippet
@file provides a field handler for the snippet coming from the ApacheSolr search engine

Code

function option_definition() {
  $options = parent::option_definition();
  $options['num_snippets'] = array(
    'default' => 1,
  );
  $options['fragsize'] = array(
    'default' => 100,
  );
  $options['merge'] = array(
    'default' => 'true',
  );
  $options['tag'] = array(
    'default' => 'em',
  );
  return $options;
}