The Endeca Analytics API provides the ability to request an arbitrary number of analytics operations based on the results of a single Oracle Commerce Navigation query. In other words, Endeca Analytics queries are embedded as sub-queries within a containing Oracle Commerce Navigation query.
This capability builds upon the Endeca API principle of "one page = one query", allowing applications to avoid costly round-trip requests to the MDEX Engine, and reduce overall page rendering time.
This embedding approach also supports the tight integration of Endeca search, navigation, and analytics: each analytics sub-query operates on the result records produced by the containing navigation query, allowing the corresponding analytics sub-query to update dynamically as the user refines the current search and navigation state.
The Endeca Analytics API provides two interfaces: