Septima.Search.S4InfoHandler
Extends Septima.Search.DetailsHandlerDef
Shows extra fields from S4IndexSearcher (Columns from presentations of index datasources in Spatial Suite)
Options
Name | Type | Mandatory | Default value | Description |
---|---|---|---|---|
more | boolean | true |
Examples
Usage
YAML Declaration:
_type: Septima.Search.S4IndexSearcher
_options:
host: "http://sps.test.septima.dk"
datasources: "*"
#allowDetails: true
detailhandlers:
- _type: Septima.Search.S4InfoHandler
js client:
// Include septimaSearch
<script type="text/javascript" src="http://search.cdn.septima.dk/{version}/septimasearch.min.js"/>
s4Searcher.addDetailHandlerDef(new Septima.Search.S4InfoHandler())
ES6:
import S4InfoHandler from './searchers/detailhandlers/S4InfoHandler.js'
s4Searcher.addDetailHandlerDef(new S4InfoHandler())