function apachesolr_search_basic_params in Apache Solr Search 6.2
Same name and namespace in other branches
- 8 apachesolr_search.module \apachesolr_search_basic_params()
- 5.2 apachesolr_search.module \apachesolr_search_basic_params()
- 6.3 apachesolr_search.module \apachesolr_search_basic_params()
- 6 apachesolr_search.module \apachesolr_search_basic_params()
- 7 apachesolr_search.module \apachesolr_search_basic_params()
1 call to apachesolr_search_basic_params()
- apachesolr_search_execute in ./
apachesolr_search.module - Execute a search results based on keyword, filter, and sort strings.
File
- ./
apachesolr_search.module, line 429 - Provides a content search implementation for node content for use with the Apache Solr search application.
Code
function apachesolr_search_basic_params($query) {
$params = array(
'fl' => 'id,nid,title,comment_count,type,created,changed,score,path,url,uid,name',
'rows' => variable_get('apachesolr_rows', 10),
'facet' => 'true',
'facet.mincount' => 1,
'facet.sort' => 'true',
);
return $params;
}