Analyzes the text that you specify and generates basic statistics, such as the number of terms, sentences, paragraphs, and stop words in the specified text, and the number of terms that appear in HPE Content Component.


This is an administrative action that can be sent only from AdminClients (which are set in the [Server] section of the configuration file).

The following XML is an example of the output of the DocumentStats action.

   <average_percent_dredococcs>4.216</   average_percent_dredococcs>

To use DocumentStats for queries that include Wildcard terms, you must set the TermPositions parameter to True.


This action uses port 9000 to request document statistics for the term businesses from HPE Content Component which is located on a machine with the IP address


Parameter Description Required
AnyLanguage Allows HPE Content Component to return documents in any language.  
LanguageType The language type of the text.  
MatchID A list of document references from which to return the term position for the specified text.  
MatchReference A list of document references from which to return the term position for the specified text.  
QueryAnalysis Returns information about the elements of a query.  
QueryStats Whether to return information about the optimal content to use for an AgentBoolean rule.  
Synchronous Whether to run the action synchronously or asynchronously.  
Text The text for which statistics are returned. Yes
TermPositions Returns a list of the positions of the occurrences of any terms that satisfy the query text.  

This action accepts the following standard ACI action parameters.

Parameter Description
ActionID A string to use to identify an ACI action.
EncryptResponse Encrypt the output.
FileName The file to write output to.
ForceTemplateRefresh Forces the server to load the template from disk.
Output Writes output to a file.
ResponseFormat The format of the action output.
Template The template to use for the action output.
TemplateParamCSVs A list of variables to use for the specified template.