SlideShare a Scribd company logo
Drupal 7 + Solr
Tools’ overview / Integration / Usage /
Case studies
Introduction
Digital agency established since
2008 in Mauritius
Recognized as one of the most
expert offshore web agencies in
Drupal
More than 150 projects in Drupal
Introduction
Technical Director at Esokia
10 years of experience in PHP
7 years of experience in Drupal
Introduction
What is Drupal?
Free, community-built website development
tool
Modular and extensible content management
Open source
Built on PHP
Created by Dries Buytaert
First release in January 2001
Showcase
Showcase
Showcase
More closer
Key concept in Drupal
Flexibility / Simplicity / Utility
High standard of usability for developers, administrators, and users
Modularity / Extensibility / Maintenability
Slim and powerful core that can be readily extended through custom modules
Drupal in the future?
Drupal 8 expected on October, 2015 (approx.)
Big architectural changes
Built with
What is Solr?
Standalone enterprise search server
Full-text search, faceted navigation
REST-like API
Open source
Written in Java
Supported by Apache Software Foundation
First release in January 2007
Main Features
Full-Text Search
Powerful matching capabilities including
phrases, wildcards, joins, grouping...
Faceted Search
Slicing of data using a large array of faceting algorithms
Main Features
High Volume Traffic
Proven on a high scale all over the world
Extensible Plugin Architecture
Well-defined extension points for indexing,
analysis, request handling, query parsing...
Main Features
Geospatial Search
Make location-based search with built-in support for
spatial search
Rich Document Parsing
Index rich content such as Adobe
PDF, Microsoft Word and more
Other features
Query suggestions
Providing suggestions to users as they type in their queries
Spell checking
“Did you mean… ?”
Highlighting
Help users to focus on their search
External configuration via XML
Adjust and extend setup with XML files
What’s next?
Now in version 5.0 (since February, 2015)
Cluster oriented with ZooKeeper & SolrCloud
Easier installation
Better admin UI
Solr is now a mature product,
with an easier handling
Drupal & Solr - How it works?
HTTP
POST/GET
DB
INDEX
Drupal Application
Apache SOLR Server
Drupal & Solr - How it works?
Drupal send content to Solr on cron’s run.
Each new or updated content is marked for
indexation.
Deleted content is removed from the index on
cron’s run.
Drupal & Solr - How it works?
In Solr, a Document is the unit of search and
index.
An index consists of one or more Documents, a
Document consits of one or more Fields.
Each Drupal’s entity is a Document.
Drupal & Solr - How it works?
Index & Analysis in Solr:
➩Solr store keywords instead of pages and
build an inverted index
➩All data go through many transformations
during the analysis phase
Drupal & Solr - Drupal’s side
One module: Apache Solr Search
Custom XML files for Solr’s configuration
Full entity support
Hooks for indexing, querying, displaying data
Many related modules to extend capabilities
Drupal & Solr - Drupal’s side
Drupal’s specific fields for Solr
Drupal & Solr - Drupal’s side
Example of hook
Drupal & Solr - Drupal’s side
Example of hook
Drupal & Solr - Drupal’s side
Example of hook
Drupal & Solr - Solr’s side
Solr 4.x supported by Drupal
Multicore support (one core per application)
Least amount of software dependencies
Drupal & Solr - Solr’s side
Solr Admin UI in 3.x
Drupal & Solr - Solr’s side
Solr Admin UI in 4.x
Drupal & Solr - Solr’s side
Requirements for Solr:
✓Apache Solr
✓Java (just the JRE)
✓… And that’s all!
An embeded Jetty comes with Solr.
Case Study n°1: La Lettre M
Context
✓ Business directory
➩ Thousands companies to index
➩Not only company, but also companies’ directors
➩Financial data and number of employees
✓ External database
➩ Huge database with different update sources
✓ Unstructured data
➩ Unusable for faceted search
Solutions
✓ Preprocessing data
➩Using hook to format data
✓ Custom Solr field
➩Created custom data to index in Solr
✓ Custom facets
➩ Add custom facet for filtering purpose
Solutions
Preprocessing data with hook implementation
➩ Standardization of financial data
➩ Standardization of number of employees
✓ For faceted search, data was structured
in range
Solutions
Add custom indexable Solr field
➩ Hooks
➩ Class functions
✓ New indexable
data
Solutions
Create custom facet for user experience
➩ Defining new widget
➩ Use class inherit
✓ Better user experience
in frontend
Case Study n°2: Eramet
Context
✓ International listed company with official documents
➩Need to publish financial and official reports
➩Create public charter and politic documents
➩Strategic and essential data in documents
➩French and english documents
Solutions
✓ Extract and index data from documents
➩Using Apache Tika as dependency
✓ Distinction between french and english documents
➩ Use of Drupal’s File API and i18n functionnalities
Solutions
Extract data from document with Tika
➩ Extract metadata and text
➩ Extracted datas are added to the index
➩ Tika’s call in integrated to Solr config XML file
✓ Easy to increase search capability
Solutions
Separation of files based on language
➩ Creation of indexable entity
➩ Add language as an indexable field
✓ Default behavior of Apache Solr Attachment
module
Interlude
What is Tika?
A content analysis toolkit
Supported by Apache Software Foundation
Open source
Written in Java
Interlude
Supported formats (non exhaustive list)
Case study n°3: GFM
Context
✓ B2B directory
➩Thousands entries to index
➩Cross data capabilities
➩Sticky and highlighted entries
✓ Migration context
➩From SQL Server to Solr
✓ Unstructured data
➩Old database with different mainteners
Solutions
✓ Preprocessing data
➩Using hook to format data
✓ Dual Solr index
➩One for sticky entries, one for standard entries
✓ Usage of taxonomy
➩Categorized content for cross data
Solutions
Data standardization for search purposes
➩ Storing entries’ number
➩ Managing data update
✓ Volume and recency as search criteria
Solutions
Create specific indexes
➩ Separate Solr query
for result’s limitation
➩ Maintain a display
counter
✓ One query per index and
combining results
Solutions
Transform taxomony result in search result
➩ Create a query on Solr
✓ Full transparency
for the user
Other applications
Training catalog
Search by filtering sessions by topics and/or date
Product catalog
Fine search based on various attributes and scope
Video database
Catchup TV
User directory
Filtering by function, localization
...
Other solutions
Open source / Full-text
search / Written in C++
Open source / Rich
document parsing / Written
in C++
Open source / Full-text
search / RESTful API
Other solutions
Module available for Drupal
Less popular than Solr
Elasticsearch as an outsider
Questions?
Thank you!
Drupal 7 and SolR

More Related Content

What's hot

RestFul Web Services In Drupal 8
RestFul Web Services In Drupal 8RestFul Web Services In Drupal 8
RestFul Web Services In Drupal 8
Gajendra Sharma
 
Quickly Customizing Alfresco
Quickly Customizing AlfrescoQuickly Customizing Alfresco
Quickly Customizing Alfresco
Alfresco Software
 
Getting started with DSpace 7 REST API
Getting started with DSpace 7 REST APIGetting started with DSpace 7 REST API
Getting started with DSpace 7 REST API
4Science
 
Basics of Solr and Solr Integration with AEM6
Basics of Solr and Solr Integration with AEM6Basics of Solr and Solr Integration with AEM6
Basics of Solr and Solr Integration with AEM6DEEPAK KHETAWAT
 
Oracle database 12c_and_DevOps
Oracle database 12c_and_DevOpsOracle database 12c_and_DevOps
Oracle database 12c_and_DevOps
Maria Colgan
 
RESTFul Web API Services @ DotNetToscana
RESTFul Web API Services @ DotNetToscanaRESTFul Web API Services @ DotNetToscana
RESTFul Web API Services @ DotNetToscana
Matteo Baglini
 
Dspace 7 presentation
Dspace 7 presentationDspace 7 presentation
Dspace 7 presentation
mohamed Elzalabany
 
Processing OpenDocument Format
Processing OpenDocument FormatProcessing OpenDocument Format
Processing OpenDocument FormatAlexandro Colorado
 
Entity Framework 4
Entity Framework 4Entity Framework 4
Entity Framework 4
Stefano Paluello
 
RSI at the HDF & HDF-EOS Workshop VI
RSI at the HDF & HDF-EOS Workshop VIRSI at the HDF & HDF-EOS Workshop VI
RSI at the HDF & HDF-EOS Workshop VI
The HDF-EOS Tools and Information Center
 
Drupal online training - GoLogica
Drupal online training - GoLogicaDrupal online training - GoLogica
Drupal online training - GoLogica
GoLogica Technologies
 
Introduction to REST and the Restlet Framework
Introduction to REST and the Restlet FrameworkIntroduction to REST and the Restlet Framework
Introduction to REST and the Restlet Framework
Philip Johnson
 
Database basics for new-ish developers -- All Things Open October 18th 2021
Database basics for new-ish developers  -- All Things Open October 18th 2021Database basics for new-ish developers  -- All Things Open October 18th 2021
Database basics for new-ish developers -- All Things Open October 18th 2021
Dave Stokes
 
Search api d8
Search api d8Search api d8
Search api d8
Dropsolid
 
Deep dive into the native multi model database ArangoDB
Deep dive into the native multi model database ArangoDBDeep dive into the native multi model database ArangoDB
Deep dive into the native multi model database ArangoDB
ArangoDB Database
 

What's hot (17)

RestFul Web Services In Drupal 8
RestFul Web Services In Drupal 8RestFul Web Services In Drupal 8
RestFul Web Services In Drupal 8
 
Btg drupal meetup presentation 9 _12_11
Btg drupal meetup presentation 9 _12_11Btg drupal meetup presentation 9 _12_11
Btg drupal meetup presentation 9 _12_11
 
Quickly Customizing Alfresco
Quickly Customizing AlfrescoQuickly Customizing Alfresco
Quickly Customizing Alfresco
 
Getting started with DSpace 7 REST API
Getting started with DSpace 7 REST APIGetting started with DSpace 7 REST API
Getting started with DSpace 7 REST API
 
Basics of Solr and Solr Integration with AEM6
Basics of Solr and Solr Integration with AEM6Basics of Solr and Solr Integration with AEM6
Basics of Solr and Solr Integration with AEM6
 
Oracle database 12c_and_DevOps
Oracle database 12c_and_DevOpsOracle database 12c_and_DevOps
Oracle database 12c_and_DevOps
 
RESTFul Web API Services @ DotNetToscana
RESTFul Web API Services @ DotNetToscanaRESTFul Web API Services @ DotNetToscana
RESTFul Web API Services @ DotNetToscana
 
ODF Toolkit with .NET Support
ODF Toolkit with .NET SupportODF Toolkit with .NET Support
ODF Toolkit with .NET Support
 
Dspace 7 presentation
Dspace 7 presentationDspace 7 presentation
Dspace 7 presentation
 
Processing OpenDocument Format
Processing OpenDocument FormatProcessing OpenDocument Format
Processing OpenDocument Format
 
Entity Framework 4
Entity Framework 4Entity Framework 4
Entity Framework 4
 
RSI at the HDF & HDF-EOS Workshop VI
RSI at the HDF & HDF-EOS Workshop VIRSI at the HDF & HDF-EOS Workshop VI
RSI at the HDF & HDF-EOS Workshop VI
 
Drupal online training - GoLogica
Drupal online training - GoLogicaDrupal online training - GoLogica
Drupal online training - GoLogica
 
Introduction to REST and the Restlet Framework
Introduction to REST and the Restlet FrameworkIntroduction to REST and the Restlet Framework
Introduction to REST and the Restlet Framework
 
Database basics for new-ish developers -- All Things Open October 18th 2021
Database basics for new-ish developers  -- All Things Open October 18th 2021Database basics for new-ish developers  -- All Things Open October 18th 2021
Database basics for new-ish developers -- All Things Open October 18th 2021
 
Search api d8
Search api d8Search api d8
Search api d8
 
Deep dive into the native multi model database ArangoDB
Deep dive into the native multi model database ArangoDBDeep dive into the native multi model database ArangoDB
Deep dive into the native multi model database ArangoDB
 

Viewers also liked

Drupal 8: Forms
Drupal 8: FormsDrupal 8: Forms
Drupal 8: Forms
drubb
 
Architecture of Drupal - Drupal Camp
Architecture of Drupal - Drupal CampArchitecture of Drupal - Drupal Camp
Architecture of Drupal - Drupal Camp
Dipen Chaudhary
 
State of Search, Solr and Facets in Drupal 8 - Drupalcamp Belgium 2015
State of Search, Solr and Facets in Drupal 8 - Drupalcamp Belgium 2015State of Search, Solr and Facets in Drupal 8 - Drupalcamp Belgium 2015
State of Search, Solr and Facets in Drupal 8 - Drupalcamp Belgium 2015
Dropsolid
 
Drupal Development
Drupal DevelopmentDrupal Development
Drupal Development
Jeff Eaton
 
Intro to Apache Solr for Drupal
Intro to Apache Solr for DrupalIntro to Apache Solr for Drupal
Intro to Apache Solr for Drupal
Chris Caple
 
Drupal 8: TWIG Template Engine
Drupal 8:  TWIG Template EngineDrupal 8:  TWIG Template Engine
Drupal 8: TWIG Template Engine
drubb
 
The Flexibility of Drupal 8 | DCNLights 2017
The Flexibility of Drupal 8 | DCNLights 2017The Flexibility of Drupal 8 | DCNLights 2017
The Flexibility of Drupal 8 | DCNLights 2017
Michael Miles
 
From Drupal 7 to Drupal 8 - Drupal Intensive Course Overview
From Drupal 7 to Drupal 8 - Drupal Intensive Course OverviewFrom Drupal 7 to Drupal 8 - Drupal Intensive Course Overview
From Drupal 7 to Drupal 8 - Drupal Intensive Course Overview
Italo Mairo
 
3 Tips for a Successful Ektron to Drupal Conversion
3 Tips for a Successful Ektron to Drupal Conversion3 Tips for a Successful Ektron to Drupal Conversion
3 Tips for a Successful Ektron to Drupal Conversion
Acquia
 
Rebuilding Solr 6 examples - layer by layer (LuceneSolrRevolution 2016)
Rebuilding Solr 6 examples - layer by layer (LuceneSolrRevolution 2016)Rebuilding Solr 6 examples - layer by layer (LuceneSolrRevolution 2016)
Rebuilding Solr 6 examples - layer by layer (LuceneSolrRevolution 2016)
Alexandre Rafalovitch
 
Hack proof your drupal site- DrupalCamp Hyderabad
Hack proof your drupal site- DrupalCamp HyderabadHack proof your drupal site- DrupalCamp Hyderabad
Hack proof your drupal site- DrupalCamp Hyderabad
Naveen Valecha
 
Learning to Rank in Solr: Presented by Michael Nilsson & Diego Ceccarelli, Bl...
Learning to Rank in Solr: Presented by Michael Nilsson & Diego Ceccarelli, Bl...Learning to Rank in Solr: Presented by Michael Nilsson & Diego Ceccarelli, Bl...
Learning to Rank in Solr: Presented by Michael Nilsson & Diego Ceccarelli, Bl...
Lucidworks
 
Building Intelligent Search Applications with Apache Solr and PHP5
Building Intelligent Search Applications with Apache Solr and PHP5Building Intelligent Search Applications with Apache Solr and PHP5
Building Intelligent Search Applications with Apache Solr and PHP5
israelekpo
 
Q1 2017 Product Updates Webcast: Find talent and candidates open to new oppor...
Q1 2017 Product Updates Webcast: Find talent and candidates open to new oppor...Q1 2017 Product Updates Webcast: Find talent and candidates open to new oppor...
Q1 2017 Product Updates Webcast: Find talent and candidates open to new oppor...
LinkedIn
 
Integrating the Solr search engine
Integrating the Solr search engineIntegrating the Solr search engine
Integrating the Solr search engine
th0masr
 
Building a real time, solr-powered recommendation engine
Building a real time, solr-powered recommendation engineBuilding a real time, solr-powered recommendation engine
Building a real time, solr-powered recommendation engine
Trey Grainger
 
How To Make DevOps Work For You
How To Make DevOps Work For YouHow To Make DevOps Work For You
How To Make DevOps Work For You
InterQuest Group
 
Winning Affluent Millennials
Winning Affluent MillennialsWinning Affluent Millennials
Winning Affluent Millennials
LinkedIn
 
The Complete Starter Guide To Tumblr Marketing
The Complete Starter Guide To Tumblr MarketingThe Complete Starter Guide To Tumblr Marketing
The Complete Starter Guide To Tumblr Marketing
Viraltag Inc.
 
[Infographic] How will Internet of Things (IoT) change the world as we know it?
[Infographic] How will Internet of Things (IoT) change the world as we know it?[Infographic] How will Internet of Things (IoT) change the world as we know it?
[Infographic] How will Internet of Things (IoT) change the world as we know it?
InterQuest Group
 

Viewers also liked (20)

Drupal 8: Forms
Drupal 8: FormsDrupal 8: Forms
Drupal 8: Forms
 
Architecture of Drupal - Drupal Camp
Architecture of Drupal - Drupal CampArchitecture of Drupal - Drupal Camp
Architecture of Drupal - Drupal Camp
 
State of Search, Solr and Facets in Drupal 8 - Drupalcamp Belgium 2015
State of Search, Solr and Facets in Drupal 8 - Drupalcamp Belgium 2015State of Search, Solr and Facets in Drupal 8 - Drupalcamp Belgium 2015
State of Search, Solr and Facets in Drupal 8 - Drupalcamp Belgium 2015
 
Drupal Development
Drupal DevelopmentDrupal Development
Drupal Development
 
Intro to Apache Solr for Drupal
Intro to Apache Solr for DrupalIntro to Apache Solr for Drupal
Intro to Apache Solr for Drupal
 
Drupal 8: TWIG Template Engine
Drupal 8:  TWIG Template EngineDrupal 8:  TWIG Template Engine
Drupal 8: TWIG Template Engine
 
The Flexibility of Drupal 8 | DCNLights 2017
The Flexibility of Drupal 8 | DCNLights 2017The Flexibility of Drupal 8 | DCNLights 2017
The Flexibility of Drupal 8 | DCNLights 2017
 
From Drupal 7 to Drupal 8 - Drupal Intensive Course Overview
From Drupal 7 to Drupal 8 - Drupal Intensive Course OverviewFrom Drupal 7 to Drupal 8 - Drupal Intensive Course Overview
From Drupal 7 to Drupal 8 - Drupal Intensive Course Overview
 
3 Tips for a Successful Ektron to Drupal Conversion
3 Tips for a Successful Ektron to Drupal Conversion3 Tips for a Successful Ektron to Drupal Conversion
3 Tips for a Successful Ektron to Drupal Conversion
 
Rebuilding Solr 6 examples - layer by layer (LuceneSolrRevolution 2016)
Rebuilding Solr 6 examples - layer by layer (LuceneSolrRevolution 2016)Rebuilding Solr 6 examples - layer by layer (LuceneSolrRevolution 2016)
Rebuilding Solr 6 examples - layer by layer (LuceneSolrRevolution 2016)
 
Hack proof your drupal site- DrupalCamp Hyderabad
Hack proof your drupal site- DrupalCamp HyderabadHack proof your drupal site- DrupalCamp Hyderabad
Hack proof your drupal site- DrupalCamp Hyderabad
 
Learning to Rank in Solr: Presented by Michael Nilsson & Diego Ceccarelli, Bl...
Learning to Rank in Solr: Presented by Michael Nilsson & Diego Ceccarelli, Bl...Learning to Rank in Solr: Presented by Michael Nilsson & Diego Ceccarelli, Bl...
Learning to Rank in Solr: Presented by Michael Nilsson & Diego Ceccarelli, Bl...
 
Building Intelligent Search Applications with Apache Solr and PHP5
Building Intelligent Search Applications with Apache Solr and PHP5Building Intelligent Search Applications with Apache Solr and PHP5
Building Intelligent Search Applications with Apache Solr and PHP5
 
Q1 2017 Product Updates Webcast: Find talent and candidates open to new oppor...
Q1 2017 Product Updates Webcast: Find talent and candidates open to new oppor...Q1 2017 Product Updates Webcast: Find talent and candidates open to new oppor...
Q1 2017 Product Updates Webcast: Find talent and candidates open to new oppor...
 
Integrating the Solr search engine
Integrating the Solr search engineIntegrating the Solr search engine
Integrating the Solr search engine
 
Building a real time, solr-powered recommendation engine
Building a real time, solr-powered recommendation engineBuilding a real time, solr-powered recommendation engine
Building a real time, solr-powered recommendation engine
 
How To Make DevOps Work For You
How To Make DevOps Work For YouHow To Make DevOps Work For You
How To Make DevOps Work For You
 
Winning Affluent Millennials
Winning Affluent MillennialsWinning Affluent Millennials
Winning Affluent Millennials
 
The Complete Starter Guide To Tumblr Marketing
The Complete Starter Guide To Tumblr MarketingThe Complete Starter Guide To Tumblr Marketing
The Complete Starter Guide To Tumblr Marketing
 
[Infographic] How will Internet of Things (IoT) change the world as we know it?
[Infographic] How will Internet of Things (IoT) change the world as we know it?[Infographic] How will Internet of Things (IoT) change the world as we know it?
[Infographic] How will Internet of Things (IoT) change the world as we know it?
 

Similar to Drupal 7 and SolR

Drupal and Apache Solr Search Go Together Like Pizza and Beer for Your Site
Drupal and Apache Solr Search Go Together Like Pizza and Beer for Your SiteDrupal and Apache Solr Search Go Together Like Pizza and Beer for Your Site
Drupal and Apache Solr Search Go Together Like Pizza and Beer for Your Site
nyccamp
 
Solr Recipes Workshop
Solr Recipes WorkshopSolr Recipes Workshop
Solr Recipes WorkshopErik Hatcher
 
Things Made Easy: One Click CMS Integration with Solr & Drupal
Things Made Easy: One Click CMS Integration with Solr & DrupalThings Made Easy: One Click CMS Integration with Solr & Drupal
Things Made Easy: One Click CMS Integration with Solr & Drupal
lucenerevolution
 
Solr Architecture
Solr ArchitectureSolr Architecture
Solr Architecture
Ramez Al-Fayez
 
Using Search API, Search API Solr and Facets in Drupal 8
Using Search API, Search API Solr and Facets in Drupal 8Using Search API, Search API Solr and Facets in Drupal 8
Using Search API, Search API Solr and Facets in Drupal 8
Websolutions Agency
 
Solr Application Development Tutorial
Solr Application Development TutorialSolr Application Development Tutorial
Solr Application Development TutorialErik Hatcher
 
Apache Solr vs Oracle Endeca
Apache Solr vs Oracle EndecaApache Solr vs Oracle Endeca
Apache Solr vs Oracle Endeca
Pedro Melo Pereira
 
Sponsored Talk @ PGConf APAC 2018 - Migrating Oracle to EDB Postgres Approach...
Sponsored Talk @ PGConf APAC 2018 - Migrating Oracle to EDB Postgres Approach...Sponsored Talk @ PGConf APAC 2018 - Migrating Oracle to EDB Postgres Approach...
Sponsored Talk @ PGConf APAC 2018 - Migrating Oracle to EDB Postgres Approach...
PGConf APAC
 
HDP Next: Governance
HDP Next: GovernanceHDP Next: Governance
HDP Next: Governance
DataWorks Summit
 
Introduction to Solr
Introduction to SolrIntroduction to Solr
Introduction to SolrErik Hatcher
 
Optimize with Open Source
Optimize with Open SourceOptimize with Open Source
Optimize with Open Source
EDB
 
Strategies and Tips for Building Enterprise Drupal Applications - PNWDS 2013
Strategies and Tips for Building Enterprise Drupal Applications - PNWDS 2013Strategies and Tips for Building Enterprise Drupal Applications - PNWDS 2013
Strategies and Tips for Building Enterprise Drupal Applications - PNWDS 2013
Mack Hardy
 
Cloudera, Azure and Big Data at Cloudera Meetup '17
Cloudera, Azure and Big Data at Cloudera Meetup '17Cloudera, Azure and Big Data at Cloudera Meetup '17
Cloudera, Azure and Big Data at Cloudera Meetup '17
Nathan Bijnens
 
1 extreme performance - part i
1   extreme performance - part i1   extreme performance - part i
1 extreme performance - part isqlserver.co.il
 
Ramp Up Your Web Experiences Using Drupal and Apache Solr
Ramp Up Your Web Experiences Using Drupal and Apache SolrRamp Up Your Web Experiences Using Drupal and Apache Solr
Ramp Up Your Web Experiences Using Drupal and Apache Solr
lucenerevolution
 
EPAS + Cloud = Oracle Compatible Postgres in Minutes
EPAS + Cloud = Oracle Compatible Postgres in MinutesEPAS + Cloud = Oracle Compatible Postgres in Minutes
EPAS + Cloud = Oracle Compatible Postgres in Minutes
EDB
 
Sql on everything with drill
Sql on everything with drillSql on everything with drill
Sql on everything with drill
Julien Le Dem
 
What_to_expect_from_oracle_database_12c
What_to_expect_from_oracle_database_12cWhat_to_expect_from_oracle_database_12c
What_to_expect_from_oracle_database_12c
Maria Colgan
 
SharePoint Migrations Pitfalls from the Crypt
SharePoint Migrations Pitfalls from the CryptSharePoint Migrations Pitfalls from the Crypt
SharePoint Migrations Pitfalls from the Crypt
John Mongell
 
The Real Scoop on Migrating from Oracle Databases
The Real Scoop on Migrating from Oracle DatabasesThe Real Scoop on Migrating from Oracle Databases
The Real Scoop on Migrating from Oracle Databases
EDB
 

Similar to Drupal 7 and SolR (20)

Drupal and Apache Solr Search Go Together Like Pizza and Beer for Your Site
Drupal and Apache Solr Search Go Together Like Pizza and Beer for Your SiteDrupal and Apache Solr Search Go Together Like Pizza and Beer for Your Site
Drupal and Apache Solr Search Go Together Like Pizza and Beer for Your Site
 
Solr Recipes Workshop
Solr Recipes WorkshopSolr Recipes Workshop
Solr Recipes Workshop
 
Things Made Easy: One Click CMS Integration with Solr & Drupal
Things Made Easy: One Click CMS Integration with Solr & DrupalThings Made Easy: One Click CMS Integration with Solr & Drupal
Things Made Easy: One Click CMS Integration with Solr & Drupal
 
Solr Architecture
Solr ArchitectureSolr Architecture
Solr Architecture
 
Using Search API, Search API Solr and Facets in Drupal 8
Using Search API, Search API Solr and Facets in Drupal 8Using Search API, Search API Solr and Facets in Drupal 8
Using Search API, Search API Solr and Facets in Drupal 8
 
Solr Application Development Tutorial
Solr Application Development TutorialSolr Application Development Tutorial
Solr Application Development Tutorial
 
Apache Solr vs Oracle Endeca
Apache Solr vs Oracle EndecaApache Solr vs Oracle Endeca
Apache Solr vs Oracle Endeca
 
Sponsored Talk @ PGConf APAC 2018 - Migrating Oracle to EDB Postgres Approach...
Sponsored Talk @ PGConf APAC 2018 - Migrating Oracle to EDB Postgres Approach...Sponsored Talk @ PGConf APAC 2018 - Migrating Oracle to EDB Postgres Approach...
Sponsored Talk @ PGConf APAC 2018 - Migrating Oracle to EDB Postgres Approach...
 
HDP Next: Governance
HDP Next: GovernanceHDP Next: Governance
HDP Next: Governance
 
Introduction to Solr
Introduction to SolrIntroduction to Solr
Introduction to Solr
 
Optimize with Open Source
Optimize with Open SourceOptimize with Open Source
Optimize with Open Source
 
Strategies and Tips for Building Enterprise Drupal Applications - PNWDS 2013
Strategies and Tips for Building Enterprise Drupal Applications - PNWDS 2013Strategies and Tips for Building Enterprise Drupal Applications - PNWDS 2013
Strategies and Tips for Building Enterprise Drupal Applications - PNWDS 2013
 
Cloudera, Azure and Big Data at Cloudera Meetup '17
Cloudera, Azure and Big Data at Cloudera Meetup '17Cloudera, Azure and Big Data at Cloudera Meetup '17
Cloudera, Azure and Big Data at Cloudera Meetup '17
 
1 extreme performance - part i
1   extreme performance - part i1   extreme performance - part i
1 extreme performance - part i
 
Ramp Up Your Web Experiences Using Drupal and Apache Solr
Ramp Up Your Web Experiences Using Drupal and Apache SolrRamp Up Your Web Experiences Using Drupal and Apache Solr
Ramp Up Your Web Experiences Using Drupal and Apache Solr
 
EPAS + Cloud = Oracle Compatible Postgres in Minutes
EPAS + Cloud = Oracle Compatible Postgres in MinutesEPAS + Cloud = Oracle Compatible Postgres in Minutes
EPAS + Cloud = Oracle Compatible Postgres in Minutes
 
Sql on everything with drill
Sql on everything with drillSql on everything with drill
Sql on everything with drill
 
What_to_expect_from_oracle_database_12c
What_to_expect_from_oracle_database_12cWhat_to_expect_from_oracle_database_12c
What_to_expect_from_oracle_database_12c
 
SharePoint Migrations Pitfalls from the Crypt
SharePoint Migrations Pitfalls from the CryptSharePoint Migrations Pitfalls from the Crypt
SharePoint Migrations Pitfalls from the Crypt
 
The Real Scoop on Migrating from Oracle Databases
The Real Scoop on Migrating from Oracle DatabasesThe Real Scoop on Migrating from Oracle Databases
The Real Scoop on Migrating from Oracle Databases
 

Recently uploaded

1.Wireless Communication System_Wireless communication is a broad term that i...
1.Wireless Communication System_Wireless communication is a broad term that i...1.Wireless Communication System_Wireless communication is a broad term that i...
1.Wireless Communication System_Wireless communication is a broad term that i...
JeyaPerumal1
 
Bài tập unit 1 English in the world.docx
Bài tập unit 1 English in the world.docxBài tập unit 1 English in the world.docx
Bài tập unit 1 English in the world.docx
nhiyenphan2005
 
急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样
急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样
急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样
3ipehhoa
 
Search Result Showing My Post is Now Buried
Search Result Showing My Post is Now BuriedSearch Result Showing My Post is Now Buried
Search Result Showing My Post is Now Buried
Trish Parr
 
Internet of Things in Manufacturing: Revolutionizing Efficiency & Quality | C...
Internet of Things in Manufacturing: Revolutionizing Efficiency & Quality | C...Internet of Things in Manufacturing: Revolutionizing Efficiency & Quality | C...
Internet of Things in Manufacturing: Revolutionizing Efficiency & Quality | C...
CIOWomenMagazine
 
一比一原版(LBS毕业证)伦敦商学院毕业证成绩单专业办理
一比一原版(LBS毕业证)伦敦商学院毕业证成绩单专业办理一比一原版(LBS毕业证)伦敦商学院毕业证成绩单专业办理
一比一原版(LBS毕业证)伦敦商学院毕业证成绩单专业办理
eutxy
 
Bridging the Digital Gap Brad Spiegel Macon, GA Initiative.pptx
Bridging the Digital Gap Brad Spiegel Macon, GA Initiative.pptxBridging the Digital Gap Brad Spiegel Macon, GA Initiative.pptx
Bridging the Digital Gap Brad Spiegel Macon, GA Initiative.pptx
Brad Spiegel Macon GA
 
How to Use Contact Form 7 Like a Pro.pptx
How to Use Contact Form 7 Like a Pro.pptxHow to Use Contact Form 7 Like a Pro.pptx
How to Use Contact Form 7 Like a Pro.pptx
Gal Baras
 
可查真实(Monash毕业证)西澳大学毕业证成绩单退学买
可查真实(Monash毕业证)西澳大学毕业证成绩单退学买可查真实(Monash毕业证)西澳大学毕业证成绩单退学买
可查真实(Monash毕业证)西澳大学毕业证成绩单退学买
cuobya
 
1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样
1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样
1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样
3ipehhoa
 
Comptia N+ Standard Networking lesson guide
Comptia N+ Standard Networking lesson guideComptia N+ Standard Networking lesson guide
Comptia N+ Standard Networking lesson guide
GTProductions1
 
原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样
原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样
原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样
3ipehhoa
 
2.Cellular Networks_The final stage of connectivity is achieved by segmenting...
2.Cellular Networks_The final stage of connectivity is achieved by segmenting...2.Cellular Networks_The final stage of connectivity is achieved by segmenting...
2.Cellular Networks_The final stage of connectivity is achieved by segmenting...
JeyaPerumal1
 
重新申请毕业证书(RMIT毕业证)皇家墨尔本理工大学毕业证成绩单精仿办理
重新申请毕业证书(RMIT毕业证)皇家墨尔本理工大学毕业证成绩单精仿办理重新申请毕业证书(RMIT毕业证)皇家墨尔本理工大学毕业证成绩单精仿办理
重新申请毕业证书(RMIT毕业证)皇家墨尔本理工大学毕业证成绩单精仿办理
vmemo1
 
Italy Agriculture Equipment Market Outlook to 2027
Italy Agriculture Equipment Market Outlook to 2027Italy Agriculture Equipment Market Outlook to 2027
Italy Agriculture Equipment Market Outlook to 2027
harveenkaur52
 
国外证书(Lincoln毕业证)新西兰林肯大学毕业证成绩单不能毕业办理
国外证书(Lincoln毕业证)新西兰林肯大学毕业证成绩单不能毕业办理国外证书(Lincoln毕业证)新西兰林肯大学毕业证成绩单不能毕业办理
国外证书(Lincoln毕业证)新西兰林肯大学毕业证成绩单不能毕业办理
zoowe
 
JAVIER LASA-EXPERIENCIA digital 1986-2024.pdf
JAVIER LASA-EXPERIENCIA digital 1986-2024.pdfJAVIER LASA-EXPERIENCIA digital 1986-2024.pdf
JAVIER LASA-EXPERIENCIA digital 1986-2024.pdf
Javier Lasa
 
guildmasters guide to ravnica Dungeons & Dragons 5...
guildmasters guide to ravnica Dungeons & Dragons 5...guildmasters guide to ravnica Dungeons & Dragons 5...
guildmasters guide to ravnica Dungeons & Dragons 5...
Rogerio Filho
 
Meet up Milano 14 _ Axpo Italia_ Migration from Mule3 (On-prem) to.pdf
Meet up Milano 14 _ Axpo Italia_ Migration from Mule3 (On-prem) to.pdfMeet up Milano 14 _ Axpo Italia_ Migration from Mule3 (On-prem) to.pdf
Meet up Milano 14 _ Axpo Italia_ Migration from Mule3 (On-prem) to.pdf
Florence Consulting
 
一比一原版(SLU毕业证)圣路易斯大学毕业证成绩单专业办理
一比一原版(SLU毕业证)圣路易斯大学毕业证成绩单专业办理一比一原版(SLU毕业证)圣路易斯大学毕业证成绩单专业办理
一比一原版(SLU毕业证)圣路易斯大学毕业证成绩单专业办理
keoku
 

Recently uploaded (20)

1.Wireless Communication System_Wireless communication is a broad term that i...
1.Wireless Communication System_Wireless communication is a broad term that i...1.Wireless Communication System_Wireless communication is a broad term that i...
1.Wireless Communication System_Wireless communication is a broad term that i...
 
Bài tập unit 1 English in the world.docx
Bài tập unit 1 English in the world.docxBài tập unit 1 English in the world.docx
Bài tập unit 1 English in the world.docx
 
急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样
急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样
急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样
 
Search Result Showing My Post is Now Buried
Search Result Showing My Post is Now BuriedSearch Result Showing My Post is Now Buried
Search Result Showing My Post is Now Buried
 
Internet of Things in Manufacturing: Revolutionizing Efficiency & Quality | C...
Internet of Things in Manufacturing: Revolutionizing Efficiency & Quality | C...Internet of Things in Manufacturing: Revolutionizing Efficiency & Quality | C...
Internet of Things in Manufacturing: Revolutionizing Efficiency & Quality | C...
 
一比一原版(LBS毕业证)伦敦商学院毕业证成绩单专业办理
一比一原版(LBS毕业证)伦敦商学院毕业证成绩单专业办理一比一原版(LBS毕业证)伦敦商学院毕业证成绩单专业办理
一比一原版(LBS毕业证)伦敦商学院毕业证成绩单专业办理
 
Bridging the Digital Gap Brad Spiegel Macon, GA Initiative.pptx
Bridging the Digital Gap Brad Spiegel Macon, GA Initiative.pptxBridging the Digital Gap Brad Spiegel Macon, GA Initiative.pptx
Bridging the Digital Gap Brad Spiegel Macon, GA Initiative.pptx
 
How to Use Contact Form 7 Like a Pro.pptx
How to Use Contact Form 7 Like a Pro.pptxHow to Use Contact Form 7 Like a Pro.pptx
How to Use Contact Form 7 Like a Pro.pptx
 
可查真实(Monash毕业证)西澳大学毕业证成绩单退学买
可查真实(Monash毕业证)西澳大学毕业证成绩单退学买可查真实(Monash毕业证)西澳大学毕业证成绩单退学买
可查真实(Monash毕业证)西澳大学毕业证成绩单退学买
 
1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样
1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样
1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样
 
Comptia N+ Standard Networking lesson guide
Comptia N+ Standard Networking lesson guideComptia N+ Standard Networking lesson guide
Comptia N+ Standard Networking lesson guide
 
原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样
原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样
原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样
 
2.Cellular Networks_The final stage of connectivity is achieved by segmenting...
2.Cellular Networks_The final stage of connectivity is achieved by segmenting...2.Cellular Networks_The final stage of connectivity is achieved by segmenting...
2.Cellular Networks_The final stage of connectivity is achieved by segmenting...
 
重新申请毕业证书(RMIT毕业证)皇家墨尔本理工大学毕业证成绩单精仿办理
重新申请毕业证书(RMIT毕业证)皇家墨尔本理工大学毕业证成绩单精仿办理重新申请毕业证书(RMIT毕业证)皇家墨尔本理工大学毕业证成绩单精仿办理
重新申请毕业证书(RMIT毕业证)皇家墨尔本理工大学毕业证成绩单精仿办理
 
Italy Agriculture Equipment Market Outlook to 2027
Italy Agriculture Equipment Market Outlook to 2027Italy Agriculture Equipment Market Outlook to 2027
Italy Agriculture Equipment Market Outlook to 2027
 
国外证书(Lincoln毕业证)新西兰林肯大学毕业证成绩单不能毕业办理
国外证书(Lincoln毕业证)新西兰林肯大学毕业证成绩单不能毕业办理国外证书(Lincoln毕业证)新西兰林肯大学毕业证成绩单不能毕业办理
国外证书(Lincoln毕业证)新西兰林肯大学毕业证成绩单不能毕业办理
 
JAVIER LASA-EXPERIENCIA digital 1986-2024.pdf
JAVIER LASA-EXPERIENCIA digital 1986-2024.pdfJAVIER LASA-EXPERIENCIA digital 1986-2024.pdf
JAVIER LASA-EXPERIENCIA digital 1986-2024.pdf
 
guildmasters guide to ravnica Dungeons & Dragons 5...
guildmasters guide to ravnica Dungeons & Dragons 5...guildmasters guide to ravnica Dungeons & Dragons 5...
guildmasters guide to ravnica Dungeons & Dragons 5...
 
Meet up Milano 14 _ Axpo Italia_ Migration from Mule3 (On-prem) to.pdf
Meet up Milano 14 _ Axpo Italia_ Migration from Mule3 (On-prem) to.pdfMeet up Milano 14 _ Axpo Italia_ Migration from Mule3 (On-prem) to.pdf
Meet up Milano 14 _ Axpo Italia_ Migration from Mule3 (On-prem) to.pdf
 
一比一原版(SLU毕业证)圣路易斯大学毕业证成绩单专业办理
一比一原版(SLU毕业证)圣路易斯大学毕业证成绩单专业办理一比一原版(SLU毕业证)圣路易斯大学毕业证成绩单专业办理
一比一原版(SLU毕业证)圣路易斯大学毕业证成绩单专业办理
 

Drupal 7 and SolR

  • 1. Drupal 7 + Solr Tools’ overview / Integration / Usage / Case studies
  • 2. Introduction Digital agency established since 2008 in Mauritius Recognized as one of the most expert offshore web agencies in Drupal More than 150 projects in Drupal
  • 3. Introduction Technical Director at Esokia 10 years of experience in PHP 7 years of experience in Drupal
  • 5. What is Drupal? Free, community-built website development tool Modular and extensible content management Open source Built on PHP Created by Dries Buytaert First release in January 2001
  • 10. Key concept in Drupal Flexibility / Simplicity / Utility High standard of usability for developers, administrators, and users Modularity / Extensibility / Maintenability Slim and powerful core that can be readily extended through custom modules
  • 11. Drupal in the future? Drupal 8 expected on October, 2015 (approx.) Big architectural changes Built with
  • 12. What is Solr? Standalone enterprise search server Full-text search, faceted navigation REST-like API Open source Written in Java Supported by Apache Software Foundation First release in January 2007
  • 13. Main Features Full-Text Search Powerful matching capabilities including phrases, wildcards, joins, grouping... Faceted Search Slicing of data using a large array of faceting algorithms
  • 14. Main Features High Volume Traffic Proven on a high scale all over the world Extensible Plugin Architecture Well-defined extension points for indexing, analysis, request handling, query parsing...
  • 15. Main Features Geospatial Search Make location-based search with built-in support for spatial search Rich Document Parsing Index rich content such as Adobe PDF, Microsoft Word and more
  • 16. Other features Query suggestions Providing suggestions to users as they type in their queries Spell checking “Did you mean… ?” Highlighting Help users to focus on their search External configuration via XML Adjust and extend setup with XML files
  • 17. What’s next? Now in version 5.0 (since February, 2015) Cluster oriented with ZooKeeper & SolrCloud Easier installation Better admin UI Solr is now a mature product, with an easier handling
  • 18. Drupal & Solr - How it works? HTTP POST/GET DB INDEX Drupal Application Apache SOLR Server
  • 19. Drupal & Solr - How it works? Drupal send content to Solr on cron’s run. Each new or updated content is marked for indexation. Deleted content is removed from the index on cron’s run.
  • 20. Drupal & Solr - How it works? In Solr, a Document is the unit of search and index. An index consists of one or more Documents, a Document consits of one or more Fields. Each Drupal’s entity is a Document.
  • 21. Drupal & Solr - How it works? Index & Analysis in Solr: ➩Solr store keywords instead of pages and build an inverted index ➩All data go through many transformations during the analysis phase
  • 22. Drupal & Solr - Drupal’s side One module: Apache Solr Search Custom XML files for Solr’s configuration Full entity support Hooks for indexing, querying, displaying data Many related modules to extend capabilities
  • 23. Drupal & Solr - Drupal’s side Drupal’s specific fields for Solr
  • 24. Drupal & Solr - Drupal’s side Example of hook
  • 25. Drupal & Solr - Drupal’s side Example of hook
  • 26. Drupal & Solr - Drupal’s side Example of hook
  • 27. Drupal & Solr - Solr’s side Solr 4.x supported by Drupal Multicore support (one core per application) Least amount of software dependencies
  • 28. Drupal & Solr - Solr’s side Solr Admin UI in 3.x
  • 29. Drupal & Solr - Solr’s side Solr Admin UI in 4.x
  • 30. Drupal & Solr - Solr’s side Requirements for Solr: ✓Apache Solr ✓Java (just the JRE) ✓… And that’s all! An embeded Jetty comes with Solr.
  • 31. Case Study n°1: La Lettre M
  • 32. Context ✓ Business directory ➩ Thousands companies to index ➩Not only company, but also companies’ directors ➩Financial data and number of employees ✓ External database ➩ Huge database with different update sources ✓ Unstructured data ➩ Unusable for faceted search
  • 33. Solutions ✓ Preprocessing data ➩Using hook to format data ✓ Custom Solr field ➩Created custom data to index in Solr ✓ Custom facets ➩ Add custom facet for filtering purpose
  • 34. Solutions Preprocessing data with hook implementation ➩ Standardization of financial data ➩ Standardization of number of employees ✓ For faceted search, data was structured in range
  • 35. Solutions Add custom indexable Solr field ➩ Hooks ➩ Class functions ✓ New indexable data
  • 36. Solutions Create custom facet for user experience ➩ Defining new widget ➩ Use class inherit ✓ Better user experience in frontend
  • 38. Context ✓ International listed company with official documents ➩Need to publish financial and official reports ➩Create public charter and politic documents ➩Strategic and essential data in documents ➩French and english documents
  • 39. Solutions ✓ Extract and index data from documents ➩Using Apache Tika as dependency ✓ Distinction between french and english documents ➩ Use of Drupal’s File API and i18n functionnalities
  • 40. Solutions Extract data from document with Tika ➩ Extract metadata and text ➩ Extracted datas are added to the index ➩ Tika’s call in integrated to Solr config XML file ✓ Easy to increase search capability
  • 41. Solutions Separation of files based on language ➩ Creation of indexable entity ➩ Add language as an indexable field ✓ Default behavior of Apache Solr Attachment module
  • 42. Interlude What is Tika? A content analysis toolkit Supported by Apache Software Foundation Open source Written in Java
  • 45. Context ✓ B2B directory ➩Thousands entries to index ➩Cross data capabilities ➩Sticky and highlighted entries ✓ Migration context ➩From SQL Server to Solr ✓ Unstructured data ➩Old database with different mainteners
  • 46. Solutions ✓ Preprocessing data ➩Using hook to format data ✓ Dual Solr index ➩One for sticky entries, one for standard entries ✓ Usage of taxonomy ➩Categorized content for cross data
  • 47. Solutions Data standardization for search purposes ➩ Storing entries’ number ➩ Managing data update ✓ Volume and recency as search criteria
  • 48. Solutions Create specific indexes ➩ Separate Solr query for result’s limitation ➩ Maintain a display counter ✓ One query per index and combining results
  • 49. Solutions Transform taxomony result in search result ➩ Create a query on Solr ✓ Full transparency for the user
  • 50. Other applications Training catalog Search by filtering sessions by topics and/or date Product catalog Fine search based on various attributes and scope Video database Catchup TV User directory Filtering by function, localization ...
  • 51. Other solutions Open source / Full-text search / Written in C++ Open source / Rich document parsing / Written in C++ Open source / Full-text search / RESTful API
  • 52. Other solutions Module available for Drupal Less popular than Solr Elasticsearch as an outsider