UseCase "Manage querying indexes"

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

DataspectsSearch

Annotations
{{#compound_query:Component1261227271Property "-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.UseCase "Manage querying indexes";?HasDirection;?IsMotivating;?IsMotivatedBy;?HasReasoning Property "-Has subobject" has a restricted application area and cannot be used as annotation property by a user.UseCase "Manage querying indexes";?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

IsCarriedOutBy SearchEngineer

DataspectsMainAPI < Sinatra::Base contains several endpoints.

Endpoint post '/_search'

  1. gets local config
  2. gets request params
  3. loads local plugins
  4. instantiates a Dataspects::SearchRequest and returns its .html

Dataspects::SearchRequest.html returns

#{aHtml.join()}

aHtml = oRFTIF.aOf_html_searchResults

oRFTIF.aOf_html_searchResults gets aElasticsearchHits from ElasticsearchQueries.aElasticsearchHits_standardSearch and passes each aElasticsearchHits to HTMLComponents.html_individualSearchResult and returns aSearchResultsItems.join()

HTMLComponents.html_individualSearchResult gets direct oElasticsearchHit fields and @oElasticsearchHitAnnotations = ElasticsearchHitAnnotations.new(@hHit['_source']['HasEntityAnnotations']). It places a oElasticsearchHit.htmlEntityAnnotationsTable which is @oElasticsearchHitAnnotations.htmlEntityAnnotationsTable.

@oElasticsearchHitAnnotations