From 5b2fe23e1cffff1c658bdfe26fddc3f84256e7f4 Mon Sep 17 00:00:00 2001 From: Dennis Schafroth Date: Thu, 7 Oct 2010 12:31:16 +0200 Subject: [PATCH] Describe ZOOM_facet_field_name --- doc/zoom.xml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/doc/zoom.xml b/doc/zoom.xml index 897e556..7d043d2 100644 --- a/doc/zoom.xml +++ b/doc/zoom.xml @@ -926,6 +926,15 @@ ZOOM_query_cql2rpn(ZOOM_query s, const char *str, ZOOM_connection conn) This will return an const array of char * where each string can be used as parameter for ZOOM_resultset_get_facet_field. + + Function ZOOM_facet_field_name gets the request facet name from a returned facet field. + + + Function ZOOM_facet_field_get_term returns the idx'th term and term count for a facet field. + Idx must between 0 and ZOOM_facet_field_term_count-1, otherwise the returned reference will be + NULL. On a valid idx, the value of the freq reference will be the term count. + The *freq parameter must be valid pointer to integer. + Scan -- 1.7.10.4