- new SearchController
- new subtitle in hero section - MimetypeTableSeeder with geo-Package
This commit is contained in:
parent
54d6c5d434
commit
7bf0337faf
11 changed files with 277 additions and 11 deletions
|
@ -101,6 +101,12 @@ class SearchController extends Controller
|
|||
public function index(): View
|
||||
{
|
||||
$totalNumOfDocs = Dataset::count();
|
||||
// get a select query instance
|
||||
$query = $this->client->createQuery($this->client::QUERY_SELECT);
|
||||
// this executes the query and returns the result
|
||||
$resultset = $this->client->execute($query);
|
||||
// // display the total number of documents found by solr
|
||||
$totalNumOfDocs = $resultset->getNumFound();
|
||||
return view('frontend.solrsearch.index', compact('totalNumOfDocs'));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
editor.link_modal.header
Reference in a new issue