Abstract global query handler.
Definition globalqueryhandler.h:23
~GlobalQueryHandler() override
void applyUsageScore(std::vector< RankItem > *) const
Takes rank items and modifies the score according to the users usage.
void handleTriggerQuery(Query *) override
Implements pure virtual handleTriggerQuery(…).
virtual std::vector< RankItem > handleGlobalQuery(const Query *)=0
The query handling function.
virtual std::vector< std::shared_ptr< Item > > handleEmptyQuery(const Query *)
The empty query handling function.
Common query object.
Definition query.h:20
Abstract trigger query handler.
Definition triggerqueryhandler.h:20