Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

From the admin interface, you can create, delete, or modify the order of appearance of the facets displayed in the searchview.

For that, you need to have the search expert or search administrator role to access the admin interface.

 

There are two distinct boxes to add a facet:

  • "Add a basic facet" box: The first one is to add simple facets. The only mandatory form field is the Solr field. You can optionally:

    • set the pagination to true,

    • allow the user to select multiple elements of this facet,

    • customize the name of this facet.

  • "Add a query facet" box: The second one is for the query facet. It adds custom queries, that you will have to fill, at least one, otherwise it makes no sense, customize the name of the request.

    • If you don't customize the name, they will be called by the name of the field which is not explicit.

    • If you click on the “add a query slot” button, it will add another field for a query and for its query label. In this context, query label is the label that will be printed next to the checkbox in the search UI. Note that if the query slot is empty, Datafari will not take into account the field dedicated to this query label. Also, if no query is declared, Datafari will ignore the request. We do not do validity checks on the queries, so it is your responsibility to ensure they are correct. If they are invalid, it is highly probable that the global search will not work anymore. But you can still delete them by clicking on the trash at the end of the line of the bottom table.

Note that you can neither have two facets on a field, nor can you have a basic facet and a query facet on a single field. Thus the fields that already faceted are removed from the selection

The "List of the facets" box allows to do the following on existing facets:

  • Deletion, by clicking the trash icon on the right

  • Change the printing order of the facet. To change it you can drag and drop lines of the table and once the order fits your needs, click the submit button.

 

  • No labels