Setup "Configure your domain's dataspects Search indexing, querying and presenting"

From SMW CindyKate by dataspects
Component1663539245
Jump to navigation Jump to search
[edit]
Keywords/Contexts


Annotations
{{#compound_query:Component1663539245Property "-Has subobject" has a restricted application area and cannot be used as annotation property by a user.UseCaseMotivation;?HasDirection;?IsMotivating;?IsMotivatedBy;?HasReasoning
Property "-Has subobject" has a restricted application area and cannot be used as annotation property by a user.Setup "Configure your domain's dataspects Search indexing, querying and presenting";?HasDirection;?IsMotivating;?IsMotivatedBy;?HasReasoning Property "-Has subobject" has a restricted application area and cannot be used as annotation property by a user.Setup "Configure your domain's dataspects Search indexing, querying and presenting";?HasDirection;?IsMotivating;?IsMotivatedBy;?HasReasoning
name=MotivationsDeclaredOnThisPageResultItem|link=none}}
Motivations
Lua error in Module:Motivations at line 23: attempt to concatenate field 'hasReasoning' (a nil value).
[edit]

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 Workstation

user@Workstation:/home/user/dataspectsOntologyEngineering/
├── document_mappings
│   └── documentMappings.rb
├── index_settings
│   └── indexSettings.rb
└── jobs
    ├── performIndexing.rb
    └── resetIndex.rb

Your Elasticsearch Server

dataspects@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 Server

SMW-integrated Search Interface

smw@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();
     }
   });
 });