Query Publisher

Before using the Query Publisher module, you need to have a repository with an updated index and a query defined. Read about creating queries (and indexing in general).

With the Query Publisher module you can publish indexed data from your repositories to the frontend

Using this module, you can:

  • Select a query to publish
  • Control which facets to display if any
  • Choose the number of items to show per page
  • Use a standard or custom made template to render the results
manual

In this section you will learn about:

  • Adding the Query Publisher module to a paragraph
  • Selecting the query to publish
  • Choosing the facets to include

To get started with the Query Publisher, add the module to a paragraph on a page

From the paragraph, you have access to the module settings window (Figure 3.1).

From here, you can control the behavior of this instance of the module - or remove it altogether.

Figure 3.1 The module settings window

We strongly discourage you from creating new sites using stylesheets, Javascript, or the theme-functionality. This is old technology, and is supported for legacy reasons.

The queries settings (Figure 4.1) allow you to define the most important behaviors of the queries module.

Figure 4.1 The queries settings

With these settings, you mist: 

  • Select the query that you want to publish. The query must first be defined in your repository.
  • Select the facet groups that will appear together with the published query, to let frontend users refine the search.
  • Specify the number of published items before paging occurs.

With the template settings, you select the template used for rendering the output of the Query publisher. 

Figure 5.1 The Query Publisher template settings

A standard .cshtml template is included.

implementing

There is no implementing specific information for this subject.

development

There is no developing specific information for this subject.

database

There is no database specific information for this subject.

integration

There is no integration specific information for this subject.