- 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) {
|
||||
// solr endpoint
|
||||
// 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 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";
|
||||
|
|
|
@ -11,13 +11,12 @@
|
|||
<!-- SEARCH RESULTS GO HERE, EXACTLY AS BEFORE -->
|
||||
<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">
|
||||
<h2 class="indexheader">DataXplore</h2>
|
||||
|
||||
@if (isset($resultset))
|
||||
|
||||
<?php $facet = $resultset->getFacetSet()->getFacet('language'); ?>
|
||||
<div class="panel panel-primary">
|
||||
<h3 class="panel-title">Language</h3>
|
||||
<ul class="filter-items">
|
||||
|
@ -33,7 +32,6 @@
|
|||
</ul>
|
||||
</div>
|
||||
|
||||
<?php $facet = $resultset->getFacetSet()->getFacet('datatype'); ?>
|
||||
<div class="panel panel-primary">
|
||||
<h3 class="panel-title">Data Type</h3>
|
||||
<ul class="filterItems">
|
||||
|
@ -48,7 +46,6 @@
|
|||
</ul>
|
||||
</div>
|
||||
|
||||
<?php $facet = $resultset->getFacetSet()->getFacet('year'); ?>
|
||||
<div class="panel panel-primary">
|
||||
<h3 class="panel-title">Year</h3>
|
||||
<ul class="filterItems">
|
||||
|
@ -67,8 +64,6 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="eight columns right-bar">
|
||||
<div id="right-bar" class="sidebar right-bar">
|
||||
<div class="row">
|
||||
|
@ -150,7 +145,7 @@
|
|||
</section>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
</div> --}}
|
||||
|
||||
</div>
|
||||
|
||||
|
@ -166,5 +161,5 @@
|
|||
@endsection
|
||||
|
||||
@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
|
Loading…
Reference in New Issue
Block a user