- General
- Sonar
- Functional Tests
- UI / Command Center
- Legacy
- Hive
- IE11
- Indexing
- Impact Performance
- On Prem
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class SpecificItemCondition<T> : WhenCondition<T>, ICoveoCondition<T> | |
where T : RuleContext | |
{ | |
private readonly IQueryNodeBuilder m_NodeBuilder; | |
private readonly ILocalizedStringFetcher m_LocalizedStringFetcher; | |
public ID ItemId { get; set; } | |
public SpecificItemCondition () : this (StaticServiceRegistrer.GetService<IQueryNodeBuilder> (), | |
StaticServiceRegistrer.GetService<ILocalizedStringFetcher> ()) { } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var RecentKeywords = (function (_super) { | |
function RecentKeywords(element, options, bindings) { | |
this.type = 'RecentKeywords'; | |
Coveo.Component.bindComponentToElement(element, this); | |
this.element = element; | |
this.options = options; | |
this.bindings = bindings; | |
this.rootElement = Coveo.$$(this.bindings.root); | |
this.rootElement.on(Coveo.QueryEvents.querySuccess, (event) => this.handleQuerySuccess(event)); | |
this.keywords = []; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.hiddenFeelingLucky { | |
visibility: hidden; | |
} | |
.CoveoFeelingLucky { | |
cursor:pointer; | |
position:relative; | |
float:right; | |
z-index: 2; | |
color: #768396; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { | |
Component, | |
ComponentOptions, | |
IComponentBindings, | |
$$, | |
QueryEvents, | |
IDoneBuildingQueryEventArgs, | |
IBuildingQueryEventArgs, | |
IRankingFunction, | |
IFieldOption, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Coveo.activateTabCount = (function(searchInterfaceElement, onTabCountResolved) { | |
var searchInterfaceDom = Coveo.$$(searchInterfaceElement); | |
var tabGroupBys = []; | |
searchInterfaceDom.on(Coveo.QueryEvents.doneBuildingQuery, function(event, args) { | |
tabGroupBys = []; | |
var allTabs = searchInterfaceDom.findAll(".CoveoTab").map(function(tabDom) { | |
return Coveo.get(tabDom, Coveo.Tab); | |
}); | |
var allTabsExpressions = allTabs.map(function(tab) { | |
return tab.options.expression; |