[ You are here:
XTF ->
Tag Reference ->
crossQuery ->
Search Result Formatter -> Facet Result Tag ]
Facet Result Tag
This tag identifies and contains the results for counting/grouping on one facet (or meta-data field). One copy of this tag will be sent into the
Result Formatter for each
Facet Query Tag specified in the query. It will appear within a
Query Result Tag container. It has the form:
<facet field = "FieldName"
totalGroups = "NumberOfGroups"
totalDocs = "NumberOfDocs">
GroupResult
GroupResult
…
</facet>
where
field="FieldName" |
is the name of the meta-data field for which faceted data is being reported. |
totalGroups="NumberOfGroups" |
is the number of groups groups this facet contains (which may be more than are selected and returned as GroupResults.) In the case of a hierarchical facet, this is actually a count of the top-level groups only. |
totalDocs="NumberOfDocs" |
is the number of documents that had matches for the specified query and had a value for this facet. |
If any groups matched the group selection in the Facet Query Tag, then one or more
Group Result Tags will appear as children of the Facet Result Tag.