Setup "Configure your domain's dataspects Search indexing, querying and presenting"
Jump to navigation
Jump to search
|
Content
"{{{1}}}" contains a listed "{" character as part of the property label and has therefore been classified as invalid.
mw.smw module not found
"{{{1}}}" contains a listed "{" character as part of the property label and has therefore been classified as invalid.
mw.smw module not found
Your dataspects Search Workstationuser@Workstation:/home/user/dataspectsOntologyEngineering/ ├── document_mappings │ └── documentMappings.rb ├── index_settings │ └── indexSettings.rb └── jobs ├── performIndexing.rb └── resetIndex.rb |
Your Elasticsearch Serverdataspects@ElasticServer:/home/dataspects/ ├── dataspects ├── dataspectsMainAPI ├── dataspectsPlugins │ ├── mySearchEngine │ │ ├── elasticsearch_hit.rb │ │ ├── html_components.rb │ │ ├── result_for_term_in_facet.rb │ │ └── search_interface_component.rb └── dataspectsSearch_config.yml # dataspectsSearch_config.yml
---
dataspectsESCluster: xx.xx.xx.xx:9200
sIndexName: yourIndex1
sPluginURLs: [
'dataspectsPlugins/mySearchEngine'
]
|
Your SMW ServerSMW-integrated Search Interfacesmw@SMWServer:/var/www/html/w/extensions/DataspectsSearch/ ├── dataspectsSearch_config.js └── dataspectsSearchHTMLInterface └── dataspectsSearchThemeStandard └── dataspectsSearch.css // dataspectsSearch_config.js
var h_dataspectsSearchConfig = {
url_dataspectsSearchSinatraAPI: '',
sSearchServerRootURL: 'https://YourWiki/wiki/Special:DataspectsSearch',
}
// https://YourWiki/wiki/MediaWiki:Common.js
$(document).ready(function() {
$('#searchform').on('submit', function(e){
e.preventDefault();
});
$('#searchInput').on('keypress', function(e) {
var code = e.keyCode || e.which;
if(code==13) {
window.location.href = '<nowiki>https://YourWiki/wiki/Special:DataspectsSearch/</nowiki>'+$(this).val();
}
});
});
|