- query solr via nginx
- rewrite dataservice.js - facet ui fia vuejs
This commit is contained in:
parent
4605778578
commit
961c99adc1
File diff suppressed because one or more lines are too long
|
@ -5,7 +5,7 @@ export default {
|
||||||
async search(term) {
|
async search(term) {
|
||||||
// solr endpoint
|
// solr endpoint
|
||||||
// const host = 'http://voyagerdemo.com/';
|
// const host = 'http://voyagerdemo.com/';
|
||||||
const host = '//repository.geologie.ac.at:8983/';
|
const host = 'https://repository.geologie.ac.at/';
|
||||||
const path = 'solr/rdr_data/select';
|
const path = 'solr/rdr_data/select';
|
||||||
const fields = 'id,server_date_published,abstract_output,title_output,title_additional,author,subject'; // fields we want returned
|
const fields = 'id,server_date_published,abstract_output,title_output,title_additional,author,subject'; // fields we want returned
|
||||||
const dismaxFields = "title^3 abstract^2 subject^1";
|
const dismaxFields = "title^3 abstract^2 subject^1";
|
||||||
|
|
|
@ -11,13 +11,12 @@
|
||||||
<!-- SEARCH RESULTS GO HERE, EXACTLY AS BEFORE -->
|
<!-- SEARCH RESULTS GO HERE, EXACTLY AS BEFORE -->
|
||||||
<div id="test" class="search-container row">
|
<div id="test" class="search-container row">
|
||||||
|
|
||||||
<div class="four columns left-bar">
|
{{-- <div class="four columns left-bar">
|
||||||
<div id="left-bar" class="sidebar left-bar">
|
<div id="left-bar" class="sidebar left-bar">
|
||||||
<h2 class="indexheader">DataXplore</h2>
|
<h2 class="indexheader">DataXplore</h2>
|
||||||
|
|
||||||
@if (isset($resultset))
|
@if (isset($resultset))
|
||||||
|
|
||||||
<?php $facet = $resultset->getFacetSet()->getFacet('language'); ?>
|
|
||||||
<div class="panel panel-primary">
|
<div class="panel panel-primary">
|
||||||
<h3 class="panel-title">Language</h3>
|
<h3 class="panel-title">Language</h3>
|
||||||
<ul class="filter-items">
|
<ul class="filter-items">
|
||||||
|
@ -33,7 +32,6 @@
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<?php $facet = $resultset->getFacetSet()->getFacet('datatype'); ?>
|
|
||||||
<div class="panel panel-primary">
|
<div class="panel panel-primary">
|
||||||
<h3 class="panel-title">Data Type</h3>
|
<h3 class="panel-title">Data Type</h3>
|
||||||
<ul class="filterItems">
|
<ul class="filterItems">
|
||||||
|
@ -48,7 +46,6 @@
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<?php $facet = $resultset->getFacetSet()->getFacet('year'); ?>
|
|
||||||
<div class="panel panel-primary">
|
<div class="panel panel-primary">
|
||||||
<h3 class="panel-title">Year</h3>
|
<h3 class="panel-title">Year</h3>
|
||||||
<ul class="filterItems">
|
<ul class="filterItems">
|
||||||
|
@ -67,8 +64,6 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<div class="eight columns right-bar">
|
<div class="eight columns right-bar">
|
||||||
<div id="right-bar" class="sidebar right-bar">
|
<div id="right-bar" class="sidebar right-bar">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
@ -150,7 +145,7 @@
|
||||||
</section>
|
</section>
|
||||||
@endif
|
@endif
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div> --}}
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -166,5 +161,5 @@
|
||||||
@endsection
|
@endsection
|
||||||
|
|
||||||
@section('after-scripts')
|
@section('after-scripts')
|
||||||
{{-- <script type="text/javascript" src="{{ asset('js/search/main.js') }}"></script> --}}
|
<script type="text/javascript" src="{{ asset('js/search/main.js') }}"></script>
|
||||||
@stop
|
@stop
|
Loading…
Reference in New Issue
Block a user