SlideShare a Scribd company logo
December 9, 2020
www.ibexa.co
Aggregation API in Ibexa DXP
Presenters:
Adam Wójs, Jani Tarvainen
Presenter Name
Agenda
1. What is Aggregation API?
2. Use Case: Repository metrics
3. Use Case: Product reviews page
4. Use Case: Tag cloud
5. Use Case: Faceted search
6. Q&A
What is Aggregation API ?
Aggregation API is API which allows you to summarize your data
How to use Aggregation API?
1. Build content/location search query
2. Attach one or more Aggregation Definitions to query
3. Execute
4. Process results
How to use Aggregation API?
Sandboxdemo
AppCommandSandboxCommand
Aggregations classification
Aggregation result:
• Stats aggregation
• Term aggregation
• Range aggregation
Aggregation subject:
• Content model based
• Content info
• Location
• Field
• Raw aggregations
• ...
Aggregations naming convention
eZPublishAPIRepositoryValuesContentQueryAggregation
<Subject><Result Type>Aggregation
Examples:
ContentTypeTermAggregation,
IntegerStatsAggregation,
IntegerRangeAggregation
Use Case: Repository metrics
Use Case: Repository metrics
Answer the following questions:
• What is min/max/avg depth / priority of location in our content
tree?
• What is min/max/avg content object version of specified type ?
• What is % of content translations for specific language ?
Use Case: Repository metrics
Repository metrics demo
AppCommandRepositoryMetricsCommand
Use Case: Product reviews page
Use Case: Product reviews page
Display product information, 10 recent reviews with summary: number of
reviews and average rate
We assume that:
• Review is content object with author name, rate and optional comment
fields
• Reviews are placed under Product main location
What is Stats aggregation?
Calculates basic statistics metrics: min(value),
max(value), avg(value), sum(value), count(value)
Stats aggregation as SQL statement
SELECT min(field), max(field), avg(field), sum(field), count(field)
FROM documents
Use Case: Product reviews page
Product reviews demo
Use Case: Tag cloud
Use Case: Tag cloud
Our goal is to render tag cloud based on keyword field
We assume that:
• Keywords are sorted alphabetically
• The more occurrence of given keyword, then the bigger font
size used to render keyword
• Font size is always between some specified range e.g., 10px to 40px
What is Term aggregation?
Groups documents by field and return number of documents for
each unique value
Term aggregation as SQL statement
SELECT value, count(value) FROM documents GROUP BY value
Use Case: Tag cloud
Tag cloud demo
Use Case: Faceted search
Use Case: Faceted search
Our goal is to allow user to narrow down search results by
applying one or multiple filters.
• Content type
• Section
• Creation date (1/7/14/30 days ago)
What is Range aggregation?
For each specified range computes the number of documents
containing value within this range.
Range aggregation as SQL statement
SELECT count(value) FROM documents WHERE value >= A and value <
B
SELECT count(value) FROM documents WHERE value >= X and value <
Y
SELECT count(value) FROM documents WHERE value >= ...
Use Case: Faceted search
Faceted search demo
Q & A
ibexa.co/AGAPI
Thank you!
Product feedback:
productmanagement@ibexa.co
portal.productboard.com/ezproduct

More Related Content

PDF
SymfonyCon 2019: Head first into Symfony Cache, Redis & Redis Cluster
André Rømcke
 
PDF
SfDay 2019: Head first into Symfony Cache, Redis & Redis Cluster
André Rømcke
 
PPTX
Terraform
Phil Wilkins
 
PDF
JBoss Fuse Workshop 101 part 4
Christina Lin
 
PDF
Virtual training Intro to the Tick stack and InfluxEnterprise
InfluxData
 
PDF
Building infrastructure as code using Terraform - DevOps Krakow
Anton Babenko
 
PDF
JBoss Fuse Workshop 101 part 6
Christina Lin
 
PDF
Terraform 0.12 Deep Dive: HCL 2.0 for Infrastructure as Code, Remote Plan & A...
Mitchell Pronschinske
 
SymfonyCon 2019: Head first into Symfony Cache, Redis & Redis Cluster
André Rømcke
 
SfDay 2019: Head first into Symfony Cache, Redis & Redis Cluster
André Rømcke
 
Terraform
Phil Wilkins
 
JBoss Fuse Workshop 101 part 4
Christina Lin
 
Virtual training Intro to the Tick stack and InfluxEnterprise
InfluxData
 
Building infrastructure as code using Terraform - DevOps Krakow
Anton Babenko
 
JBoss Fuse Workshop 101 part 6
Christina Lin
 
Terraform 0.12 Deep Dive: HCL 2.0 for Infrastructure as Code, Remote Plan & A...
Mitchell Pronschinske
 

What's hot (19)

PDF
Terraform in action
Damien Pacaud
 
PPTX
Dapper performance
Suresh Loganatha
 
PPTX
Advanced data access with Dapper
David Paquette
 
PDF
今時なウェブ開発をSmalltalkでやってみる?
Sho Yoshida
 
PDF
Logging logs with Logstash - Devops MK 10-02-2016
Steve Howe
 
PDF
Terraform: An Overview & Introduction
Lee Trout
 
PPTX
Kenshoo - Use Hadoop, One Week, No Coding
MapR Technologies
 
PDF
Logging with Elasticsearch, Logstash & Kibana
Amazee Labs
 
PDF
ELK introduction
Waldemar Neto
 
PPTX
Customer Intelligence: Using the ELK Stack to Analyze ForgeRock OpenAM Audit ...
ForgeRock
 
PDF
Best practices for Terraform with Vault
Mitchell Pronschinske
 
PDF
Vespa - Tokyo Meetup #yjmu
Yahoo!デベロッパーネットワーク
 
PDF
Scaling massive elastic search clusters - Rafał Kuć - Sematext
Rafał Kuć
 
PDF
Buzzwords 2014 / Overview / part1
Andrii Gakhov
 
PPT
'Scalable Logging and Analytics with LogStash'
Cloud Elements
 
PDF
Ali Asad Lotia (DevOps at Beamly) - Riemann Stream Processing at #DOXLON
Outlyer
 
PPTX
Effective terraform
Calvin French-Owen
 
PDF
Everything as Code with Terraform
All Things Open
 
PPTX
Final terraform
Gourav Varma
 
Terraform in action
Damien Pacaud
 
Dapper performance
Suresh Loganatha
 
Advanced data access with Dapper
David Paquette
 
今時なウェブ開発をSmalltalkでやってみる?
Sho Yoshida
 
Logging logs with Logstash - Devops MK 10-02-2016
Steve Howe
 
Terraform: An Overview & Introduction
Lee Trout
 
Kenshoo - Use Hadoop, One Week, No Coding
MapR Technologies
 
Logging with Elasticsearch, Logstash & Kibana
Amazee Labs
 
ELK introduction
Waldemar Neto
 
Customer Intelligence: Using the ELK Stack to Analyze ForgeRock OpenAM Audit ...
ForgeRock
 
Best practices for Terraform with Vault
Mitchell Pronschinske
 
Vespa - Tokyo Meetup #yjmu
Yahoo!デベロッパーネットワーク
 
Scaling massive elastic search clusters - Rafał Kuć - Sematext
Rafał Kuć
 
Buzzwords 2014 / Overview / part1
Andrii Gakhov
 
'Scalable Logging and Analytics with LogStash'
Cloud Elements
 
Ali Asad Lotia (DevOps at Beamly) - Riemann Stream Processing at #DOXLON
Outlyer
 
Effective terraform
Calvin French-Owen
 
Everything as Code with Terraform
All Things Open
 
Final terraform
Gourav Varma
 
Ad

Similar to Aggregation APi in Ibexa DXP by Adam Wójs (20)

PDF
Keynote: Harnessing the power of Elasticsearch for simplified search
Elasticsearch
 
PPT
Extending Solr: Building a Cloud-like Knowledge Discovery Platform
Trey Grainger
 
PPTX
How Edmodo Uses Splunk For Real-Time Tag-Based Reporting of AWS Billing and U...
cloudcontroller
 
PPTX
Introduction to MongoDB
S.Shayan Daneshvar
 
PDF
MongoDB World 2019: Fast Machine Learning Development with MongoDB
MongoDB
 
PDF
MongoDB .local London 2019: Fast Machine Learning Development with MongoDB
MongoDB
 
PDF
MongoDB .local London 2019: Fast Machine Learning Development with MongoDB
Lisa Roth, PMP
 
PPTX
Azure Data Explorer deep dive - review 04.2020
Riccardo Zamana
 
PPTX
Reduce Query Time Up to 60% with Selective Search
Lucidworks
 
PDF
Account Performance and Optimization
marcwan
 
PPT
Real World Application Performance with MongoDB
MongoDB
 
PPTX
Use dependency injection to get Hadoop *out* of your application code
DataWorks Summit
 
PPT
Searching Repositories of Web Application Models
Marco Brambilla
 
PPTX
Building Spring Data with MongoDB
MongoDB
 
PPTX
Using Compass to Diagnose Performance Problems in Your Cluster
MongoDB
 
PPTX
Using Compass to Diagnose Performance Problems
MongoDB
 
PPT
2_PPT Multi Keyword Search in cloud data.ppt
satyamthigale1
 
PPT
STAT Requirement Analysis
stat
 
PPTX
Unit 1 - TypeScript & Introduction to Angular CLI.pptx
Malla Reddy University
 
PPTX
MongoDB Aggregation MongoSF May 2011
Chris Westin
 
Keynote: Harnessing the power of Elasticsearch for simplified search
Elasticsearch
 
Extending Solr: Building a Cloud-like Knowledge Discovery Platform
Trey Grainger
 
How Edmodo Uses Splunk For Real-Time Tag-Based Reporting of AWS Billing and U...
cloudcontroller
 
Introduction to MongoDB
S.Shayan Daneshvar
 
MongoDB World 2019: Fast Machine Learning Development with MongoDB
MongoDB
 
MongoDB .local London 2019: Fast Machine Learning Development with MongoDB
MongoDB
 
MongoDB .local London 2019: Fast Machine Learning Development with MongoDB
Lisa Roth, PMP
 
Azure Data Explorer deep dive - review 04.2020
Riccardo Zamana
 
Reduce Query Time Up to 60% with Selective Search
Lucidworks
 
Account Performance and Optimization
marcwan
 
Real World Application Performance with MongoDB
MongoDB
 
Use dependency injection to get Hadoop *out* of your application code
DataWorks Summit
 
Searching Repositories of Web Application Models
Marco Brambilla
 
Building Spring Data with MongoDB
MongoDB
 
Using Compass to Diagnose Performance Problems in Your Cluster
MongoDB
 
Using Compass to Diagnose Performance Problems
MongoDB
 
2_PPT Multi Keyword Search in cloud data.ppt
satyamthigale1
 
STAT Requirement Analysis
stat
 
Unit 1 - TypeScript & Introduction to Angular CLI.pptx
Malla Reddy University
 
MongoDB Aggregation MongoSF May 2011
Chris Westin
 
Ad

More from Jani Tarvainen (9)

PDF
GraphQL APIs is with eZ Platform, a Symfony CMS
Jani Tarvainen
 
PDF
Introduction to eZ Platform v2 UI Customization
Jani Tarvainen
 
PDF
Easy Decoupled Sitebuilding with GraphQL and Next.js
Jani Tarvainen
 
PDF
Doctrine ORM with eZ Platform REST API and GraphQL
Jani Tarvainen
 
PDF
Using eZ Platform as a Headless CMS (with Vue.js)
Jani Tarvainen
 
PPTX
Performance Comparison of PHP 5.6 vs. 7.0 vs HHVM
Jani Tarvainen
 
PPTX
Exploring Content API Options - March 23rd 2016
Jani Tarvainen
 
PDF
Isomorphic server side rendering with Twig
Jani Tarvainen
 
PPTX
Content Management Systems and Refactoring - Drupal, WordPress and eZ Publish
Jani Tarvainen
 
GraphQL APIs is with eZ Platform, a Symfony CMS
Jani Tarvainen
 
Introduction to eZ Platform v2 UI Customization
Jani Tarvainen
 
Easy Decoupled Sitebuilding with GraphQL and Next.js
Jani Tarvainen
 
Doctrine ORM with eZ Platform REST API and GraphQL
Jani Tarvainen
 
Using eZ Platform as a Headless CMS (with Vue.js)
Jani Tarvainen
 
Performance Comparison of PHP 5.6 vs. 7.0 vs HHVM
Jani Tarvainen
 
Exploring Content API Options - March 23rd 2016
Jani Tarvainen
 
Isomorphic server side rendering with Twig
Jani Tarvainen
 
Content Management Systems and Refactoring - Drupal, WordPress and eZ Publish
Jani Tarvainen
 

Recently uploaded (20)

PDF
AI-Cloud-Business-Management-Platforms-The-Key-to-Efficiency-Growth.pdf
Artjoker Software Development Company
 
PDF
A Day in the Life of Location Data - Turning Where into How.pdf
Precisely
 
PDF
Google I/O Extended 2025 Baku - all ppts
HusseinMalikMammadli
 
PDF
How-Cloud-Computing-Impacts-Businesses-in-2025-and-Beyond.pdf
Artjoker Software Development Company
 
PDF
Get More from Fiori Automation - What’s New, What Works, and What’s Next.pdf
Precisely
 
PDF
Tea4chat - another LLM Project by Kerem Atam
a0m0rajab1
 
PPTX
AI and Robotics for Human Well-being.pptx
JAYMIN SUTHAR
 
PDF
Cloud-Migration-Best-Practices-A-Practical-Guide-to-AWS-Azure-and-Google-Clou...
Artjoker Software Development Company
 
PDF
Trying to figure out MCP by actually building an app from scratch with open s...
Julien SIMON
 
PPTX
IT Runs Better with ThousandEyes AI-driven Assurance
ThousandEyes
 
PDF
OFFOFFBOX™ – A New Era for African Film | Startup Presentation
ambaicciwalkerbrian
 
PPTX
Dev Dives: Automate, test, and deploy in one place—with Unified Developer Exp...
AndreeaTom
 
PPTX
The-Ethical-Hackers-Imperative-Safeguarding-the-Digital-Frontier.pptx
sujalchauhan1305
 
PDF
Software Development Methodologies in 2025
KodekX
 
PDF
Responsible AI and AI Ethics - By Sylvester Ebhonu
Sylvester Ebhonu
 
PDF
Data_Analytics_vs_Data_Science_vs_BI_by_CA_Suvidha_Chaplot.pdf
CA Suvidha Chaplot
 
PDF
How Open Source Changed My Career by abdelrahman ismail
a0m0rajab1
 
PDF
Using Anchore and DefectDojo to Stand Up Your DevSecOps Function
Anchore
 
PDF
Orbitly Pitch Deck|A Mission-Driven Platform for Side Project Collaboration (...
zz41354899
 
PDF
Advances in Ultra High Voltage (UHV) Transmission and Distribution Systems.pdf
Nabajyoti Banik
 
AI-Cloud-Business-Management-Platforms-The-Key-to-Efficiency-Growth.pdf
Artjoker Software Development Company
 
A Day in the Life of Location Data - Turning Where into How.pdf
Precisely
 
Google I/O Extended 2025 Baku - all ppts
HusseinMalikMammadli
 
How-Cloud-Computing-Impacts-Businesses-in-2025-and-Beyond.pdf
Artjoker Software Development Company
 
Get More from Fiori Automation - What’s New, What Works, and What’s Next.pdf
Precisely
 
Tea4chat - another LLM Project by Kerem Atam
a0m0rajab1
 
AI and Robotics for Human Well-being.pptx
JAYMIN SUTHAR
 
Cloud-Migration-Best-Practices-A-Practical-Guide-to-AWS-Azure-and-Google-Clou...
Artjoker Software Development Company
 
Trying to figure out MCP by actually building an app from scratch with open s...
Julien SIMON
 
IT Runs Better with ThousandEyes AI-driven Assurance
ThousandEyes
 
OFFOFFBOX™ – A New Era for African Film | Startup Presentation
ambaicciwalkerbrian
 
Dev Dives: Automate, test, and deploy in one place—with Unified Developer Exp...
AndreeaTom
 
The-Ethical-Hackers-Imperative-Safeguarding-the-Digital-Frontier.pptx
sujalchauhan1305
 
Software Development Methodologies in 2025
KodekX
 
Responsible AI and AI Ethics - By Sylvester Ebhonu
Sylvester Ebhonu
 
Data_Analytics_vs_Data_Science_vs_BI_by_CA_Suvidha_Chaplot.pdf
CA Suvidha Chaplot
 
How Open Source Changed My Career by abdelrahman ismail
a0m0rajab1
 
Using Anchore and DefectDojo to Stand Up Your DevSecOps Function
Anchore
 
Orbitly Pitch Deck|A Mission-Driven Platform for Side Project Collaboration (...
zz41354899
 
Advances in Ultra High Voltage (UHV) Transmission and Distribution Systems.pdf
Nabajyoti Banik
 

Aggregation APi in Ibexa DXP by Adam Wójs