function apachesolr_search_page_exists in Apache Solr Search 6.3
Same name and namespace in other branches
- 8 apachesolr_search.module \apachesolr_search_page_exists()
- 7 apachesolr_search.module \apachesolr_search_page_exists()
Returns whether a search page exists.
File
- ./
apachesolr_search.module, line 1582 - Provides a content search implementation for node content for use with the Apache Solr search application.
Code
function apachesolr_search_page_exists($page_id) {
if (db_table_exists('apachesolr_search_page')) {
$page = db_result(db_query("SELECT 1 FROM {apachesolr_search_page} WHERE page_id = '%s'", array(
$page_id,
)));
}
return 0;
}