Going by the examples out of the box in Coveo, I always see this bit to construct the query:
Coveo.$(function() {
Coveo.$('#search')
.on(Coveo.QueryEvents.buildingQuery,
function(e, args) {
Coveo.$(function() {
Coveo.$('#search')
.on(Coveo.QueryEvents.buildingQuery,
function(e, args) {
I want to add essentially my own faceting system to this, but not using OOTB facets necessarily, mostly due to design. I have "tabs" that are dropdowns essentially, with checkboxes, and after the user selects whatever series of boxes they'll go with, they click an "apply" button.
When the button is clicked, I know using Coveo.$("search").coveo("executeQeury") will kick off a new query, but I'm confused as to how to access the query builder for either refining my starting point, or just generating a new query based on the "facets" involved.
I feel like I'm missing something obvious, but any help would be appreciated. Thanks.