class apachesolr_views_handler_field_score in Apache Solr Views 6
@file Views handler to handle the score field. Will not add anything to the query
Hierarchy
- class \apachesolr_views_handler_field_score extends \views_handler_field_numeric
Expanded class hierarchy of apachesolr_views_handler_field_score
1 string reference to 'apachesolr_views_handler_field_score'
- apachesolr_views_views_data in ./
apachesolr_views.views.inc - Implementation of hook_views_data().
File
- handlers/
apachesolr_views_handler_field_score.inc, line 7 - Views handler to handle the score field. Will not add anything to the query
View source
class apachesolr_views_handler_field_score extends views_handler_field_numeric {
function construct() {
parent::construct();
$this->definition['float'] = TRUE;
}
function query() {
$this->field_alias = $this->query
->add_solr_field('score');
}
}