Active
Project:
Node displays contributions
Version:
6.x-2.x-dev
Component:
ND Search
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
24 Jan 2012 at 04:49 UTC
Updated:
24 Jan 2012 at 04:50 UTC
The apache solr searchengine delivers also a score relevance value of the search results. This score can also be shown in the search results.
// All the rest is a node.
else {
$node = _solr_document_to_node($result);
$node->score = $result['score'];
$node->snippets = $result['snippets'];
$node->snippet = $result['snippet'];
$node->build_mode = variable_get('nd_search_apachesolr_build_mode', NODE_BUILD_SEARCH_RESULT);
$output .= node_view($node);
}
Comments
Comment #1
xtfer commentedI have no problems committing this, just want to know whether there are any other variables we should include?