際際滷

際際滷Share a Scribd company logo
APACHE SOLR




A LITTLE INTRODUCTION TO SEARCH
             ENGINES.
TECHNOLOGIES

Mainly, We are gonna talk about these
technologies:
 Apache SOLR

 Maven

 Rest Services, Java, Lucene, Google, and

many more...
Lucene

   Library which provides high performance text
    operations.
   Inverted index.
   Plain text.
   Different operations with text i.e: delete articles.
   Since Java 1.4
   Indexes stored in disc.
Lucene

   Less dependency with index size.
   Higher text search flexibility. Synonyms,
    phonetics searches...
   Ranking.
    All these features does Lucene better than
    DataBases when text searches are necessary
    in our applications.
Lucene
SOLR

   Http access to Lucene
   Caches to improve performane
   Admin web interface
   XML configuration
   Faceted search
   Distributed service
   Solrj client
SOLR

     Basic search configuration
Parameter Description

q          What is searched (Name: Music)
rows       Max results shown
facets     Faceted search
sort       It sorts the results i.e: name asc


fl         Fields returned by the server


fq         Caching results


...        More and more parameters
SOLR

    Advanced search:
   It's configurated through the xml files.
       Tokens
       Stemming
       Synonyms
       Stop words
       N-Gamas
SOLR
The Solr Home directory typically contains the following subdirectories...

  conf/
     This directory is mandatory and must contain your solrconfig.xml
     and schema.xml. Any other optional configuration files would also
     be kept here.

  data/
     This directory is the default location where Solr will keep your
     index, and is used by the replication scripts for dealing with
     snapshots. You can override this location in the solrconfig.xml
     and scripts.conf files. Solr will create this directory if it
     does not already exist.

  lib/
         This directory is optional. If it exists, Solr will load any Jars
         found in this directory and use them to resolve any "plugins"
         specified in your solrconfig.xml or schema.xml (ie: Analyzers,
         Request Handlers, etc...). Alternatively you can use the <lib>
         syntax in solrconfig.xml to direct Solr to your plugins. See the
         example solrconfig.xml file for details.

  bin/
      This directory is optional. It is the default location used for
      keeping the replication scripts .
SOLR
REST Services

    Set of architectural principles:
   Use HTTP methods explicitly.
   Stateless.
   Expose directory structure-like URIs.
   Transfer XML, JavaScript Object Notation
    (JSON), or both.
Maven

 Project life cycle control.
 Test, compile, install, deployment...

 Control of dependencies

 Many plugins

 Community
Ad

Recommended

Apache Solr Workshop
Apache Solr Workshop
JSGB
Mysqlppt
Mysqlppt
poornima sugumaran
Mysqlppt
Mysqlppt
poornima sugumaran
PostgreSQL- An Introduction
PostgreSQL- An Introduction
Smita Prasad
Coffee at DBG- Solr introduction
Coffee at DBG- Solr introduction
Sajindbg Dbg
Les21[1]Writing Explicit Cursors
Les21[1]Writing Explicit Cursors
siavosh kaviani
ORACLE PL SQL FOR BEGINNERS
ORACLE PL SQL FOR BEGINNERS
mohdoracle
Solr5
Solr5
Phoebe Shih
ORACLE PL SQL
ORACLE PL SQL
Srinath Maharana
Oracle: PLSQL Introduction
Oracle: PLSQL Introduction
DataminingTools Inc
Data Processing Inside PostgreSQL
Data Processing Inside PostgreSQL
EDB
Introduction to PostgreSQL
Introduction to PostgreSQL
Joel Brewer
Java features. Java 8, 9, 10, 11
Java features. Java 8, 9, 10, 11
Ivelin Yanev
InfiniFlux collector
InfiniFlux collector
InfiniFlux
Les23[1]Handling Exceptions
Les23[1]Handling Exceptions
siavosh kaviani
Namespaces and Autoloading
Namespaces and Autoloading
Vic Metcalfe
Oracle sql loader utility
Oracle sql loader utility
nageswarareddapps
PostgreSQL Database 際際滷s
PostgreSQL Database 際際滷s
metsarin
Linux
Linux
HAINIRMALRAJ
PL-SQL DIFFERENT PROGRAMS
PL-SQL DIFFERENT PROGRAMS
raj upadhyay
1 - Introduction to PL/SQL
1 - Introduction to PL/SQL
rehaniltifat
Sql loader good example
Sql loader good example
Aneel Swarna MBA ,PMP
PIE - The Programmable Infrastructure Environment
PIE - The Programmable Infrastructure Environment
Ernest Mueller
PL/SQL Fundamentals I
PL/SQL Fundamentals I
Nick Buytaert
plsql Les05
plsql Les05
sasa_eldoby
4. plsql
4. plsql
Amrit Kaur
Oracle: PLSQL
Oracle: PLSQL
DataminingTools Inc
Linker scripts
Linker scripts
Koganti Ravikumar
Apache Solr - Enterprise search platform
Apache Solr - Enterprise search platform
Tommaso Teofili
Solr Application Development Tutorial
Solr Application Development Tutorial
Erik Hatcher

More Related Content

What's hot (20)

ORACLE PL SQL
ORACLE PL SQL
Srinath Maharana
Oracle: PLSQL Introduction
Oracle: PLSQL Introduction
DataminingTools Inc
Data Processing Inside PostgreSQL
Data Processing Inside PostgreSQL
EDB
Introduction to PostgreSQL
Introduction to PostgreSQL
Joel Brewer
Java features. Java 8, 9, 10, 11
Java features. Java 8, 9, 10, 11
Ivelin Yanev
InfiniFlux collector
InfiniFlux collector
InfiniFlux
Les23[1]Handling Exceptions
Les23[1]Handling Exceptions
siavosh kaviani
Namespaces and Autoloading
Namespaces and Autoloading
Vic Metcalfe
Oracle sql loader utility
Oracle sql loader utility
nageswarareddapps
PostgreSQL Database 際際滷s
PostgreSQL Database 際際滷s
metsarin
Linux
Linux
HAINIRMALRAJ
PL-SQL DIFFERENT PROGRAMS
PL-SQL DIFFERENT PROGRAMS
raj upadhyay
1 - Introduction to PL/SQL
1 - Introduction to PL/SQL
rehaniltifat
Sql loader good example
Sql loader good example
Aneel Swarna MBA ,PMP
PIE - The Programmable Infrastructure Environment
PIE - The Programmable Infrastructure Environment
Ernest Mueller
PL/SQL Fundamentals I
PL/SQL Fundamentals I
Nick Buytaert
plsql Les05
plsql Les05
sasa_eldoby
4. plsql
4. plsql
Amrit Kaur
Oracle: PLSQL
Oracle: PLSQL
DataminingTools Inc
Linker scripts
Linker scripts
Koganti Ravikumar
Data Processing Inside PostgreSQL
Data Processing Inside PostgreSQL
EDB
Introduction to PostgreSQL
Introduction to PostgreSQL
Joel Brewer
Java features. Java 8, 9, 10, 11
Java features. Java 8, 9, 10, 11
Ivelin Yanev
InfiniFlux collector
InfiniFlux collector
InfiniFlux
Les23[1]Handling Exceptions
Les23[1]Handling Exceptions
siavosh kaviani
Namespaces and Autoloading
Namespaces and Autoloading
Vic Metcalfe
Oracle sql loader utility
Oracle sql loader utility
nageswarareddapps
PostgreSQL Database 際際滷s
PostgreSQL Database 際際滷s
metsarin
PL-SQL DIFFERENT PROGRAMS
PL-SQL DIFFERENT PROGRAMS
raj upadhyay
1 - Introduction to PL/SQL
1 - Introduction to PL/SQL
rehaniltifat
PIE - The Programmable Infrastructure Environment
PIE - The Programmable Infrastructure Environment
Ernest Mueller
PL/SQL Fundamentals I
PL/SQL Fundamentals I
Nick Buytaert

Similar to Hands on-solr (20)

Apache Solr - Enterprise search platform
Apache Solr - Enterprise search platform
Tommaso Teofili
Solr Application Development Tutorial
Solr Application Development Tutorial
Erik Hatcher
Basics of Solr and Solr Integration with AEM6
Basics of Solr and Solr Integration with AEM6
DEEPAK KHETAWAT
PLAT-4 Understanding the SOLR Integration
PLAT-4 Understanding the SOLR Integration
Alfresco Software
Building Intelligent Search Applications with Apache Solr and PHP5
Building Intelligent Search Applications with Apache Solr and PHP5
israelekpo
Get the most out of Solr search with PHP
Get the most out of Solr search with PHP
Paul Borgermans
Solr Recipes
Solr Recipes
Erik Hatcher
Enterprise search in_drupal_pub
Enterprise search in_drupal_pub
dstuartnz
Apache solr liferay
Apache solr liferay
Binesh Gummadi
Solr/Elasticsearch for CF Developers (and others)
Solr/Elasticsearch for CF Developers (and others)
Mary Jo Sminkey
Apache solr
Apache solr
Dipen Rangwani
Solr 8 interview
Solr 8 interview
Alihossein shahabi
Solr Recipes Workshop
Solr Recipes Workshop
Erik Hatcher
Information Retrieval - Data Science Bootcamp
Information Retrieval - Data Science Bootcamp
Kais Hassan, PhD
Apache Solr + ajax solr
Apache Solr + ajax solr
Net7
Introduction to Solr
Introduction to Solr
Erik Hatcher
Laravel 4 presentation
Laravel 4 presentation
Abu Saleh Muhammad Shaon
Search Engine Capabilities - Apache Solr(Lucene)
Search Engine Capabilities - Apache Solr(Lucene)
Manish kumar
Building Enterprise Search Engines using Open Source Technologies
Building Enterprise Search Engines using Open Source Technologies
Rahul Singh
Building Enterprise Search Engines using Open Source Technologies
Building Enterprise Search Engines using Open Source Technologies
Anant Corporation
Apache Solr - Enterprise search platform
Apache Solr - Enterprise search platform
Tommaso Teofili
Solr Application Development Tutorial
Solr Application Development Tutorial
Erik Hatcher
Basics of Solr and Solr Integration with AEM6
Basics of Solr and Solr Integration with AEM6
DEEPAK KHETAWAT
PLAT-4 Understanding the SOLR Integration
PLAT-4 Understanding the SOLR Integration
Alfresco Software
Building Intelligent Search Applications with Apache Solr and PHP5
Building Intelligent Search Applications with Apache Solr and PHP5
israelekpo
Get the most out of Solr search with PHP
Get the most out of Solr search with PHP
Paul Borgermans
Enterprise search in_drupal_pub
Enterprise search in_drupal_pub
dstuartnz
Apache solr liferay
Apache solr liferay
Binesh Gummadi
Solr/Elasticsearch for CF Developers (and others)
Solr/Elasticsearch for CF Developers (and others)
Mary Jo Sminkey
Solr Recipes Workshop
Solr Recipes Workshop
Erik Hatcher
Information Retrieval - Data Science Bootcamp
Information Retrieval - Data Science Bootcamp
Kais Hassan, PhD
Apache Solr + ajax solr
Apache Solr + ajax solr
Net7
Introduction to Solr
Introduction to Solr
Erik Hatcher
Search Engine Capabilities - Apache Solr(Lucene)
Search Engine Capabilities - Apache Solr(Lucene)
Manish kumar
Building Enterprise Search Engines using Open Source Technologies
Building Enterprise Search Engines using Open Source Technologies
Rahul Singh
Building Enterprise Search Engines using Open Source Technologies
Building Enterprise Search Engines using Open Source Technologies
Anant Corporation
Ad

Recently uploaded (20)

Artificial Intelligence in the Nonprofit Boardroom.pdf
Artificial Intelligence in the Nonprofit Boardroom.pdf
OnBoard
cnc-processing-centers-centateq-p-110-en.pdf
cnc-processing-centers-centateq-p-110-en.pdf
AmirStern2
AI VIDEO MAGAZINE - June 2025 - r/aivideo
AI VIDEO MAGAZINE - June 2025 - r/aivideo
1pcity Studios, Inc
Enhance GitHub Copilot using MCP - Enterprise version.pdf
Enhance GitHub Copilot using MCP - Enterprise version.pdf
Nilesh Gule
June Patch Tuesday
June Patch Tuesday
Ivanti
OpenACC and Open Hackathons Monthly Highlights June 2025
OpenACC and Open Hackathons Monthly Highlights June 2025
OpenACC
PyCon SG 25 - Firecracker Made Easy with Python.pdf
PyCon SG 25 - Firecracker Made Easy with Python.pdf
Muhammad Yuga Nugraha
The Future of Data, AI, and AR: Innovation Inspired by You.pdf
The Future of Data, AI, and AR: Innovation Inspired by You.pdf
Safe Software
ENERGY CONSUMPTION CALCULATION IN ENERGY-EFFICIENT AIR CONDITIONER.pdf
ENERGY CONSUMPTION CALCULATION IN ENERGY-EFFICIENT AIR CONDITIONER.pdf
Muhammad Rizwan Akram
"Database isolation: how we deal with hundreds of direct connections to the d...
"Database isolation: how we deal with hundreds of direct connections to the d...
Fwdays
Raman Bhaumik - Passionate Tech Enthusiast
Raman Bhaumik - Passionate Tech Enthusiast
Raman Bhaumik
Crypto Super 500 - 14th Report - June2025.pdf
Crypto Super 500 - 14th Report - June2025.pdf
Stephen Perrenod
Connecting Data and Intelligence: The Role of FME in Machine Learning
Connecting Data and Intelligence: The Role of FME in Machine Learning
Safe Software
FIDO Seminar: Perspectives on Passkeys & Consumer Adoption.pptx
FIDO Seminar: Perspectives on Passkeys & Consumer Adoption.pptx
FIDO Alliance
FIDO Seminar: Targeting Trust: The Future of Identity in the Workforce.pptx
FIDO Seminar: Targeting Trust: The Future of Identity in the Workforce.pptx
FIDO Alliance
From Enterprise to Makers: Driving Vision AI Innovation at the Extreme Edge,...
From Enterprise to Makers: Driving Vision AI Innovation at the Extreme Edge,...
Edge AI and Vision Alliance
FIDO Seminar: New Data: Passkey Adoption in the Workforce.pptx
FIDO Seminar: New Data: Passkey Adoption in the Workforce.pptx
FIDO Alliance
Enabling BIM / GIS integrations with Other Systems with FME
Enabling BIM / GIS integrations with Other Systems with FME
Safe Software
9-1-1 Addressing: End-to-End Automation Using FME
9-1-1 Addressing: End-to-End Automation Using FME
Safe Software
Creating Inclusive Digital Learning with AI: A Smarter, Fairer Future
Creating Inclusive Digital Learning with AI: A Smarter, Fairer Future
Impelsys Inc.
Artificial Intelligence in the Nonprofit Boardroom.pdf
Artificial Intelligence in the Nonprofit Boardroom.pdf
OnBoard
cnc-processing-centers-centateq-p-110-en.pdf
cnc-processing-centers-centateq-p-110-en.pdf
AmirStern2
AI VIDEO MAGAZINE - June 2025 - r/aivideo
AI VIDEO MAGAZINE - June 2025 - r/aivideo
1pcity Studios, Inc
Enhance GitHub Copilot using MCP - Enterprise version.pdf
Enhance GitHub Copilot using MCP - Enterprise version.pdf
Nilesh Gule
June Patch Tuesday
June Patch Tuesday
Ivanti
OpenACC and Open Hackathons Monthly Highlights June 2025
OpenACC and Open Hackathons Monthly Highlights June 2025
OpenACC
PyCon SG 25 - Firecracker Made Easy with Python.pdf
PyCon SG 25 - Firecracker Made Easy with Python.pdf
Muhammad Yuga Nugraha
The Future of Data, AI, and AR: Innovation Inspired by You.pdf
The Future of Data, AI, and AR: Innovation Inspired by You.pdf
Safe Software
ENERGY CONSUMPTION CALCULATION IN ENERGY-EFFICIENT AIR CONDITIONER.pdf
ENERGY CONSUMPTION CALCULATION IN ENERGY-EFFICIENT AIR CONDITIONER.pdf
Muhammad Rizwan Akram
"Database isolation: how we deal with hundreds of direct connections to the d...
"Database isolation: how we deal with hundreds of direct connections to the d...
Fwdays
Raman Bhaumik - Passionate Tech Enthusiast
Raman Bhaumik - Passionate Tech Enthusiast
Raman Bhaumik
Crypto Super 500 - 14th Report - June2025.pdf
Crypto Super 500 - 14th Report - June2025.pdf
Stephen Perrenod
Connecting Data and Intelligence: The Role of FME in Machine Learning
Connecting Data and Intelligence: The Role of FME in Machine Learning
Safe Software
FIDO Seminar: Perspectives on Passkeys & Consumer Adoption.pptx
FIDO Seminar: Perspectives on Passkeys & Consumer Adoption.pptx
FIDO Alliance
FIDO Seminar: Targeting Trust: The Future of Identity in the Workforce.pptx
FIDO Seminar: Targeting Trust: The Future of Identity in the Workforce.pptx
FIDO Alliance
From Enterprise to Makers: Driving Vision AI Innovation at the Extreme Edge,...
From Enterprise to Makers: Driving Vision AI Innovation at the Extreme Edge,...
Edge AI and Vision Alliance
FIDO Seminar: New Data: Passkey Adoption in the Workforce.pptx
FIDO Seminar: New Data: Passkey Adoption in the Workforce.pptx
FIDO Alliance
Enabling BIM / GIS integrations with Other Systems with FME
Enabling BIM / GIS integrations with Other Systems with FME
Safe Software
9-1-1 Addressing: End-to-End Automation Using FME
9-1-1 Addressing: End-to-End Automation Using FME
Safe Software
Creating Inclusive Digital Learning with AI: A Smarter, Fairer Future
Creating Inclusive Digital Learning with AI: A Smarter, Fairer Future
Impelsys Inc.
Ad

Hands on-solr

  • 1. APACHE SOLR A LITTLE INTRODUCTION TO SEARCH ENGINES.
  • 2. TECHNOLOGIES Mainly, We are gonna talk about these technologies: Apache SOLR Maven Rest Services, Java, Lucene, Google, and many more...
  • 3. Lucene Library which provides high performance text operations. Inverted index. Plain text. Different operations with text i.e: delete articles. Since Java 1.4 Indexes stored in disc.
  • 4. Lucene Less dependency with index size. Higher text search flexibility. Synonyms, phonetics searches... Ranking. All these features does Lucene better than DataBases when text searches are necessary in our applications.
  • 6. SOLR Http access to Lucene Caches to improve performane Admin web interface XML configuration Faceted search Distributed service Solrj client
  • 7. SOLR Basic search configuration Parameter Description q What is searched (Name: Music) rows Max results shown facets Faceted search sort It sorts the results i.e: name asc fl Fields returned by the server fq Caching results ... More and more parameters
  • 8. SOLR Advanced search: It's configurated through the xml files. Tokens Stemming Synonyms Stop words N-Gamas
  • 9. SOLR The Solr Home directory typically contains the following subdirectories... conf/ This directory is mandatory and must contain your solrconfig.xml and schema.xml. Any other optional configuration files would also be kept here. data/ This directory is the default location where Solr will keep your index, and is used by the replication scripts for dealing with snapshots. You can override this location in the solrconfig.xml and scripts.conf files. Solr will create this directory if it does not already exist. lib/ This directory is optional. If it exists, Solr will load any Jars found in this directory and use them to resolve any "plugins" specified in your solrconfig.xml or schema.xml (ie: Analyzers, Request Handlers, etc...). Alternatively you can use the <lib> syntax in solrconfig.xml to direct Solr to your plugins. See the example solrconfig.xml file for details. bin/ This directory is optional. It is the default location used for keeping the replication scripts .
  • 10. SOLR
  • 11. REST Services Set of architectural principles: Use HTTP methods explicitly. Stateless. Expose directory structure-like URIs. Transfer XML, JavaScript Object Notation (JSON), or both.
  • 12. Maven Project life cycle control. Test, compile, install, deployment... Control of dependencies Many plugins Community