grouping several afs:facet or afs:facetDefault parameters - AFS

AFS Integration Guide

Product
AFS
AFS_Version
7.7
Category
Reference Guide

When integrating AFS with Web Frameworks, it is sometimes cumbersome to require the user to provide several afs:facet, or afs:facetDefault parameters (because these frameworks do not handle easily the repetition of a parameter in a URL).

It is therefore possible to group several afs:facet parameters into a single one by grouping their values, separated by a semicolon.

Examples

afs:facet=category,replies=20&afs:facet=category,countDocuments=false

Can be also expressed as:

afs:facet=category,replies=20;category,countDocuments=false

Similarly,

afs:facetDefault=replies=20&afs:facetDefault=maxDepth=4

Can be expressed as:

afs:facetDefault=replies=20;maxDepth=4