SlideShare a Scribd company logo
Israel Ekpo | World Disney Parks and Resorts Online
Building Intelligent Search
Applications with Solr 1.4.1
and PHP 5
About the Presenter

Husband (beautiful wife June)

Father (handsome son Joshua)

Sr. Software Engineer at World Disney Parks and Resorts Online

Resides in Orlando, FL

Open Source Contributor to Apache Solr / Apache Lucene Projects

Author of Apache Solr PECL Extension

Email : iekpo@php.net

Twitter : @israelekpo

Website : http://www.israelekpo.com
Summary

Why Create Search Applications?

What Solr is

What Solr is not

Why choose Apache Solr?

What Features Solr Has to Offer in Current Release 1.4.1

Taking Advantage of these features and more

Using Apache Solr via PHP 5

How do we make Search Applications Intelligent?

Additional Topics (Nutch, Local Solr, Bitwise Filtering, Plugins)

Links to slides, sample codes

Upcoming Features

Where to get help with Apache Solr
Reasons to Create Search Applications

Users have been spoiled by Google and other search engines.

Users are used to navigation using a search box.

If unable to locate information immediately, they assume it's not there.

Less patience when attempting to look for information

Certain customer service tools may not have relevant navigation

Information needs to be located immediately
Reasons to Create Search Applications

Reduce the amount of time it takes to locate information

Make products and services more accessible to customers

Increase time spent by visitors on web application

Save time, Save money

Increase employee efficiency (CRM applications)

Improve user experience on web application

Increase revenue and increase profit
About Solr

Solr is written in Java

Standalone full text Search Server within servlet container

Uses the information retrieval library Lucene at its Core

Joined Apache Incubator in January 2006

First major release in December 2006

Latest stable release is 1.4.1 - June 2010

Next major release 4.0

http://lucene.apache.org/solr/
What Solr is NOT

Solr is not a wrapper around Lucene

Solr is not a RDBMS
What version should I use?
I am confused …
The current version of Apache Solr is 1.4.1
Why is there both a 1.5 and a 3.x anyway ?
Not to mention a 4.x ?

1.5 is pre lucene/solr merge (very unlikely to ever be released)

3.1 is the next lucene/solr point release (3x branch in svn)

4.0 is the next major release (trunk in svn)
Why Choose Apache Solr?
• Solr is FREE and Open Source (released under Apache License)
• Advanced Full Text Search Capabilities absent in an RDBMS
• Optimized for High Volume Web Traffic
• Standards Based Open Interfaces - XML,JSON and HTTP
• Comprehensive HTML Administration Interfaces
• Server statistics exposed over JMX for monitoring
• Scalability - Efficient Replication to other Solr Search Servers
• Flexible and Adaptable with XML configuration
• Extensible Plugin Architecture
• Because a Voice in my head told me to
• All of the above
Features in Apache Solr 1.4.1

A Real Data Schema -Numeric Types, Dynamic Fields, Unique Keys

Hit Highlighting, Spelling Suggestions, Auto Suggests

Faceted Search and Filtering

Advanced, Configurable Text Analysis

Highly Configurable and User Extensible Caching

External Configuration via XML

An Administration Interface

Monitorable Logging

Fast Incremental Updates and Index Replication

Highly Scalable Distributed search - sharded index across multiple hosts

XML, CSV/delimited-text update formats

Rich Document Indexing - PDF, Word, HTML using Apache Tika

Multiple search indices
Setting Up and Getting Started
Setup Instructions will be posted here later today
http://www.israelekpo.com/works
Download Links
http://www.apache.org/dyn/closer.cgi/lucene/solr/
http://tomcat.apache.org/download-60.cgi
http://pecl.php.net/package/solr
Documentation and Helpful Information
http://us.php.net/solr
http://lucene.apache.org/solr/tutorial.html
http://wiki.apache.org/solr/
Important Directories
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
dealing with snapshots.
You can override this location in the solrconfig.xml
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...).
bin/
This directory is optional.
It is the default location used for keeping the replication scripts.
solrconfig.xml – handlers, plugins
Defines data directory for index
Overides directory for external libs
Defines and configures request handlers
Defines and enables response writers
Defines parameters for autowarming
Used to register additional plugins
synonyms.txt
Used for token or keyword substitution during indexing or queries
Source(s) => replacement(s)
colour => color
cheque => check
car, boat, truck => vehicle
dude, guy => man
trousers => pants
protowords.txt
Used to protect certain words from stemming
sports
news
fighter
schema.xml – data types, fields
schema.xml – data types, fields
schema.xml – data types, fields
schema.xml – data types, fields
Field Options By Use Case
Adding data to index
Solr Query Syntax
Solr Uses and Extends the Lucene Query Syntax (Superset of Lucene Syntax)
http://lucene.apache.org/java/2_9_1/queryparsersyntax.html
http://wiki.apache.org/solr/SolrQuerySyntax
+ Required Optional –Prohibited
Booleans
Free AND Fast
+Free +Fast
+title:Fast AND –body:dollars
Range Queries
[* TO 500]
{300 TO *}
cost:[* TO 299.99}
Removing Data from Index
Administrative Interface
Text Analysis (muy importante)
Text Analysis
Text Analysis
Text Analysis
Taking advantage of features
Spellchecker
Taking advantage of features
Spellchecker
Taking advantage of features
Spell Checker
Taking advantage of features
Spell Checker
Taking advantage of features
Spell checker (behind the scenes)
Taking advantage of features
Reasons to Use Spellchecker
• Alerts user of possible mistaeks in search kewyords
• Helps user in finding what they are looking for even when they
don’t know how to spell it
• Helps in suggesting alternate queries that could provide better
results
Taking advantage of features
Autosuggest aka Auto complete
Taking advantage of features
Auto suggest aka auto complete
Taking advantage of features
Auto suggest behind the scenes
http://docs.jquery.com/UI/Autocomplete
Taking advantage of features
Auto suggest behind the scenes
Taking advantage of features
Why use auto suggest?
• Helps users to finish their thoughts or complete search phrase
• Helps reduce number of “no matches found” experiences
• Provides “mind-reader” experience to certain users.
• May propose alternate search phrases that are more useful
Taking advantage of features
Hit Highlighting
Taking advantage of features
Hit Highlighting
Taking advantage of features
Hit Highlighting (behind the scenes)
Taking advantage of features
Hit Highlighting (behind the scenes)
Taking advantage of features
Why Use Hit Highlighting?
Makes it easier for users to parse returned results
Improves overall search experience
Taking advantage of features
Facets and Filter Queries
Makes it easier for users to parse returned results
Improves overall search experience
Taking advantage of features
Facets and Filter Queries
Taking advantage of features
Facets and Filter Queries
Taking advantage of features
Why Facets and Filter Queries?
Allows users to narrow down humongous result set
Creates visual classification or categorization of result set
Gives user an idea of number of hits per category
Improves overall search experience
Additional Topics
Using Nutch and Solr – crawling and indexing intranet sites
http://nutch.apache.org/
Local Solr – filtering based on proximity
https://issues.apache.org/jira/browse/SOLR-773
Bitwise Filtering on Integer Fields
https://issues.apache.org/jira/browse/SOLR-1913
Using Different Response Writer for PHP
http://us.php.net/manual/en/solrclient.setresponsewriter.php
https://issues.apache.org/jira/browse/SOLR-1967
Upcoming Features
Apache Solr
• Local Solr
• Results Grouping
• Field Collapsing
PECL Extension
• Ability to Send Custom Requests to Custom URLS other than select, update, terms
etc.
• Ability to add files (pdf, office documents etc)
• Windows version of latest releases.
• Ensuring that SolrQuery::getFields(), SolrQuery::getFacets() et al returns an array
consistently.
• Lowering Libxml version to 2.6.16
Where to get help
Solr Wiki
http://wiki.apache.org/solr/
Solr Mailing Lists
solr-user@lucene.apache.org (send message)
solr-user-subscribe@lucene.apache.org (subscribe)
PECL Extension Documentation on PHP.net
http://www.php.net/solr
Additional Resources
http://wiki.apache.org/solr/SolrResources
Articles on LucidImagination.com – lot of articles from experts in the community.
Questions and Answers
WDPRO is Hiring
Walt Disney Parks and Resorts Online is hiring for the following positions
http://wdpro.jobs
• Software Architects
• Software Engineers
• Web Developers
• Automation Engineers
• System Engineers
• Release Engineers
• Quality Assurance Engineers
• Business Analysts
• Project Managers
• Technology Managers
Email your resume -> iekpo@php.net
mail(“iekpo@php.net”, “I am interested! Hook me up!”, “resume , contact info”);
Feedback and Links
Attendee Evaluation and Comments
http://joind.in/2261
Link to Slides
http://slidesha.re/bAXNF3
Sample Code (will be posted later)
http://www.israelekpo.com/works
Email
iekpo@php.net

More Related Content

PDF
Introduction Apache Solr & PHP
PDF
Building your own search engine with Apache Solr
PPT
Introduction to Apache Solr.
PDF
Apache Solr Workshop
PDF
Solr Recipes Workshop
PDF
Solr Application Development Tutorial
PPTX
Apache Solr
PDF
Rapid Prototyping with Solr
Introduction Apache Solr & PHP
Building your own search engine with Apache Solr
Introduction to Apache Solr.
Apache Solr Workshop
Solr Recipes Workshop
Solr Application Development Tutorial
Apache Solr
Rapid Prototyping with Solr

What's hot (20)

PDF
Solr Recipes
PDF
Integrating the Solr search engine
PPT
Solr Presentation
PDF
New-Age Search through Apache Solr
PDF
Get the most out of Solr search with PHP
PPTX
Enterprise Search Using Apache Solr
PDF
Rapid Prototyping with Solr
PDF
Introduction to Solr
PDF
Solr Black Belt Pre-conference
PPTX
Introduction to Apache Lucene/Solr
PDF
Introduction to Apache Solr
PDF
Lucene's Latest (for Libraries)
PDF
Introduction to Solr
PDF
Apache Solr crash course
PDF
Lucene for Solr Developers
PDF
Basics of Solr and Solr Integration with AEM6
PDF
Rapid Prototyping with Solr
ODP
Introduction to Apache solr
PDF
Solr Architecture
PPTX
Rebuilding Solr 6 examples - layer by layer (LuceneSolrRevolution 2016)
Solr Recipes
Integrating the Solr search engine
Solr Presentation
New-Age Search through Apache Solr
Get the most out of Solr search with PHP
Enterprise Search Using Apache Solr
Rapid Prototyping with Solr
Introduction to Solr
Solr Black Belt Pre-conference
Introduction to Apache Lucene/Solr
Introduction to Apache Solr
Lucene's Latest (for Libraries)
Introduction to Solr
Apache Solr crash course
Lucene for Solr Developers
Basics of Solr and Solr Integration with AEM6
Rapid Prototyping with Solr
Introduction to Apache solr
Solr Architecture
Rebuilding Solr 6 examples - layer by layer (LuceneSolrRevolution 2016)
Ad

Viewers also liked (20)

PPTX
Building a real time, solr-powered recommendation engine
KEY
Intro to Apache Solr for Drupal
PPTX
Presentation11
KEY
Apache Solr - Enterprise search platform
PDF
Solr rug
KEY
State-of-the-Art Drupal Search with Apache Solr
PPTX
Webinar Google Analytics Real Time MA 22-11-11
PPTX
Real-Time Big Data with Storm, Kafka and GigaSpaces
PDF
Apache Solr! Enterprise Search Solutions at your Fingertips!
PDF
How to make a simple cheap high availability self-healing solr cluster
PDF
Real-Time Analytics with Solr: Presented by Yonik Seeley, Cloudera
PDF
WebUp Feb 2017 - How (not) to get lost in bigger Ruby on Rails project.
PDF
Search Analytics Component: Presented by Steven Bower, Bloomberg L.P.
PPTX
Drupal 7 and SolR
PDF
A Cassandra + Solr + Spark Love Triangle Using DataStax Enterprise
PDF
How We Used Cassandra/Solr to Build Real-Time Analytics Platform
PDF
Building a Large Scale SEO/SEM Application with Apache Solr: Presented by Rah...
PPTX
Ruby language overview
PDF
Automotive Information Research driven by Apache Solr
PPTX
Ruby is Awesome and Rust is Awesome and Building a Game in Both is AWESOME
Building a real time, solr-powered recommendation engine
Intro to Apache Solr for Drupal
Presentation11
Apache Solr - Enterprise search platform
Solr rug
State-of-the-Art Drupal Search with Apache Solr
Webinar Google Analytics Real Time MA 22-11-11
Real-Time Big Data with Storm, Kafka and GigaSpaces
Apache Solr! Enterprise Search Solutions at your Fingertips!
How to make a simple cheap high availability self-healing solr cluster
Real-Time Analytics with Solr: Presented by Yonik Seeley, Cloudera
WebUp Feb 2017 - How (not) to get lost in bigger Ruby on Rails project.
Search Analytics Component: Presented by Steven Bower, Bloomberg L.P.
Drupal 7 and SolR
A Cassandra + Solr + Spark Love Triangle Using DataStax Enterprise
How We Used Cassandra/Solr to Build Real-Time Analytics Platform
Building a Large Scale SEO/SEM Application with Apache Solr: Presented by Rah...
Ruby language overview
Automotive Information Research driven by Apache Solr
Ruby is Awesome and Rust is Awesome and Building a Game in Both is AWESOME
Ad

Similar to Building Intelligent Search Applications with Apache Solr and PHP5 (20)

PDF
Drupal & Apache Solr
PPT
Enterprise search in_drupal_pub
KEY
Solr 101
PPTX
TriHUG: Lucene Solr Hadoop
PPTX
Apache Solr-Webinar
PDF
Suche mit Apache Lucene & Co.
PPT
Apache Lucene Searching The Web
ODP
Apache Lucene: Searching the Web and Everything Else (Jazoon07)
PPTX
Solr/Elasticsearch for CF Developers (and others)
PPTX
Drupal7 and Apache Solr
PDF
Let's Build an Inverted Index: Introduction to Apache Lucene/Solr
PPTX
Apache solr
PPT
ApacheCon NA 2011 report
PPTX
Search Engine Capabilities - Apache Solr(Lucene)
PDF
Getting started faster with LucidWorks for Solr
PDF
Indexing Text and HTML Files with Solr
PDF
Indexing Text and HTML Files with Solr
PDF
Indexing Text and HTML Files with Solr
PDF
PPTX
FHIR Server internals - sqlonfhir
Drupal & Apache Solr
Enterprise search in_drupal_pub
Solr 101
TriHUG: Lucene Solr Hadoop
Apache Solr-Webinar
Suche mit Apache Lucene & Co.
Apache Lucene Searching The Web
Apache Lucene: Searching the Web and Everything Else (Jazoon07)
Solr/Elasticsearch for CF Developers (and others)
Drupal7 and Apache Solr
Let's Build an Inverted Index: Introduction to Apache Lucene/Solr
Apache solr
ApacheCon NA 2011 report
Search Engine Capabilities - Apache Solr(Lucene)
Getting started faster with LucidWorks for Solr
Indexing Text and HTML Files with Solr
Indexing Text and HTML Files with Solr
Indexing Text and HTML Files with Solr
FHIR Server internals - sqlonfhir

Recently uploaded (20)

PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Sensors and Actuators in IoT Systems using pdf
PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
NewMind AI Monthly Chronicles - July 2025
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PPTX
breach-and-attack-simulation-cybersecurity-india-chennai-defenderrabbit-2025....
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
KodekX | Application Modernization Development
PDF
Modernizing your data center with Dell and AMD
PDF
Transforming Manufacturing operations through Intelligent Integrations
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
GDG Cloud Iasi [PUBLIC] Florian Blaga - Unveiling the Evolution of Cybersecur...
PDF
AI And Its Effect On The Evolving IT Sector In Australia - Elevate
PDF
Chapter 2 Digital Image Fundamentals.pdf
PPTX
MYSQL Presentation for SQL database connectivity
PDF
solutions_manual_-_materials___processing_in_manufacturing__demargo_.pdf
PPTX
Telecom Fraud Prevention Guide | Hyperlink InfoSystem
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Sensors and Actuators in IoT Systems using pdf
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
NewMind AI Monthly Chronicles - July 2025
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Dropbox Q2 2025 Financial Results & Investor Presentation
breach-and-attack-simulation-cybersecurity-india-chennai-defenderrabbit-2025....
Chapter 3 Spatial Domain Image Processing.pdf
KodekX | Application Modernization Development
Modernizing your data center with Dell and AMD
Transforming Manufacturing operations through Intelligent Integrations
“AI and Expert System Decision Support & Business Intelligence Systems”
GDG Cloud Iasi [PUBLIC] Florian Blaga - Unveiling the Evolution of Cybersecur...
AI And Its Effect On The Evolving IT Sector In Australia - Elevate
Chapter 2 Digital Image Fundamentals.pdf
MYSQL Presentation for SQL database connectivity
solutions_manual_-_materials___processing_in_manufacturing__demargo_.pdf
Telecom Fraud Prevention Guide | Hyperlink InfoSystem

Building Intelligent Search Applications with Apache Solr and PHP5

  • 1. Israel Ekpo | World Disney Parks and Resorts Online Building Intelligent Search Applications with Solr 1.4.1 and PHP 5
  • 2. About the Presenter  Husband (beautiful wife June)  Father (handsome son Joshua)  Sr. Software Engineer at World Disney Parks and Resorts Online  Resides in Orlando, FL  Open Source Contributor to Apache Solr / Apache Lucene Projects  Author of Apache Solr PECL Extension  Email : [email protected]  Twitter : @israelekpo  Website : http://www.israelekpo.com
  • 3. Summary  Why Create Search Applications?  What Solr is  What Solr is not  Why choose Apache Solr?  What Features Solr Has to Offer in Current Release 1.4.1  Taking Advantage of these features and more  Using Apache Solr via PHP 5  How do we make Search Applications Intelligent?  Additional Topics (Nutch, Local Solr, Bitwise Filtering, Plugins)  Links to slides, sample codes  Upcoming Features  Where to get help with Apache Solr
  • 4. Reasons to Create Search Applications  Users have been spoiled by Google and other search engines.  Users are used to navigation using a search box.  If unable to locate information immediately, they assume it's not there.  Less patience when attempting to look for information  Certain customer service tools may not have relevant navigation  Information needs to be located immediately
  • 5. Reasons to Create Search Applications  Reduce the amount of time it takes to locate information  Make products and services more accessible to customers  Increase time spent by visitors on web application  Save time, Save money  Increase employee efficiency (CRM applications)  Improve user experience on web application  Increase revenue and increase profit
  • 6. About Solr  Solr is written in Java  Standalone full text Search Server within servlet container  Uses the information retrieval library Lucene at its Core  Joined Apache Incubator in January 2006  First major release in December 2006  Latest stable release is 1.4.1 - June 2010  Next major release 4.0  http://lucene.apache.org/solr/
  • 7. What Solr is NOT  Solr is not a wrapper around Lucene  Solr is not a RDBMS
  • 8. What version should I use? I am confused … The current version of Apache Solr is 1.4.1 Why is there both a 1.5 and a 3.x anyway ? Not to mention a 4.x ?  1.5 is pre lucene/solr merge (very unlikely to ever be released)  3.1 is the next lucene/solr point release (3x branch in svn)  4.0 is the next major release (trunk in svn)
  • 9. Why Choose Apache Solr? • Solr is FREE and Open Source (released under Apache License) • Advanced Full Text Search Capabilities absent in an RDBMS • Optimized for High Volume Web Traffic • Standards Based Open Interfaces - XML,JSON and HTTP • Comprehensive HTML Administration Interfaces • Server statistics exposed over JMX for monitoring • Scalability - Efficient Replication to other Solr Search Servers • Flexible and Adaptable with XML configuration • Extensible Plugin Architecture • Because a Voice in my head told me to • All of the above
  • 10. Features in Apache Solr 1.4.1  A Real Data Schema -Numeric Types, Dynamic Fields, Unique Keys  Hit Highlighting, Spelling Suggestions, Auto Suggests  Faceted Search and Filtering  Advanced, Configurable Text Analysis  Highly Configurable and User Extensible Caching  External Configuration via XML  An Administration Interface  Monitorable Logging  Fast Incremental Updates and Index Replication  Highly Scalable Distributed search - sharded index across multiple hosts  XML, CSV/delimited-text update formats  Rich Document Indexing - PDF, Word, HTML using Apache Tika  Multiple search indices
  • 11. Setting Up and Getting Started Setup Instructions will be posted here later today http://www.israelekpo.com/works Download Links http://www.apache.org/dyn/closer.cgi/lucene/solr/ http://tomcat.apache.org/download-60.cgi http://pecl.php.net/package/solr Documentation and Helpful Information http://us.php.net/solr http://lucene.apache.org/solr/tutorial.html http://wiki.apache.org/solr/
  • 12. Important Directories 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 dealing with snapshots. You can override this location in the solrconfig.xml 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...). bin/ This directory is optional. It is the default location used for keeping the replication scripts.
  • 13. solrconfig.xml – handlers, plugins Defines data directory for index Overides directory for external libs Defines and configures request handlers Defines and enables response writers Defines parameters for autowarming Used to register additional plugins
  • 14. synonyms.txt Used for token or keyword substitution during indexing or queries Source(s) => replacement(s) colour => color cheque => check car, boat, truck => vehicle dude, guy => man trousers => pants
  • 15. protowords.txt Used to protect certain words from stemming sports news fighter
  • 16. schema.xml – data types, fields
  • 17. schema.xml – data types, fields
  • 18. schema.xml – data types, fields
  • 19. schema.xml – data types, fields
  • 20. Field Options By Use Case
  • 21. Adding data to index
  • 22. Solr Query Syntax Solr Uses and Extends the Lucene Query Syntax (Superset of Lucene Syntax) http://lucene.apache.org/java/2_9_1/queryparsersyntax.html http://wiki.apache.org/solr/SolrQuerySyntax + Required Optional –Prohibited Booleans Free AND Fast +Free +Fast +title:Fast AND –body:dollars Range Queries [* TO 500] {300 TO *} cost:[* TO 299.99}
  • 25. Text Analysis (muy importante)
  • 29. Taking advantage of features Spellchecker
  • 30. Taking advantage of features Spellchecker
  • 31. Taking advantage of features Spell Checker
  • 32. Taking advantage of features Spell Checker
  • 33. Taking advantage of features Spell checker (behind the scenes)
  • 34. Taking advantage of features Reasons to Use Spellchecker • Alerts user of possible mistaeks in search kewyords • Helps user in finding what they are looking for even when they don’t know how to spell it • Helps in suggesting alternate queries that could provide better results
  • 35. Taking advantage of features Autosuggest aka Auto complete
  • 36. Taking advantage of features Auto suggest aka auto complete
  • 37. Taking advantage of features Auto suggest behind the scenes http://docs.jquery.com/UI/Autocomplete
  • 38. Taking advantage of features Auto suggest behind the scenes
  • 39. Taking advantage of features Why use auto suggest? • Helps users to finish their thoughts or complete search phrase • Helps reduce number of “no matches found” experiences • Provides “mind-reader” experience to certain users. • May propose alternate search phrases that are more useful
  • 40. Taking advantage of features Hit Highlighting
  • 41. Taking advantage of features Hit Highlighting
  • 42. Taking advantage of features Hit Highlighting (behind the scenes)
  • 43. Taking advantage of features Hit Highlighting (behind the scenes)
  • 44. Taking advantage of features Why Use Hit Highlighting? Makes it easier for users to parse returned results Improves overall search experience
  • 45. Taking advantage of features Facets and Filter Queries Makes it easier for users to parse returned results Improves overall search experience
  • 46. Taking advantage of features Facets and Filter Queries
  • 47. Taking advantage of features Facets and Filter Queries
  • 48. Taking advantage of features Why Facets and Filter Queries? Allows users to narrow down humongous result set Creates visual classification or categorization of result set Gives user an idea of number of hits per category Improves overall search experience
  • 49. Additional Topics Using Nutch and Solr – crawling and indexing intranet sites http://nutch.apache.org/ Local Solr – filtering based on proximity https://issues.apache.org/jira/browse/SOLR-773 Bitwise Filtering on Integer Fields https://issues.apache.org/jira/browse/SOLR-1913 Using Different Response Writer for PHP http://us.php.net/manual/en/solrclient.setresponsewriter.php https://issues.apache.org/jira/browse/SOLR-1967
  • 50. Upcoming Features Apache Solr • Local Solr • Results Grouping • Field Collapsing PECL Extension • Ability to Send Custom Requests to Custom URLS other than select, update, terms etc. • Ability to add files (pdf, office documents etc) • Windows version of latest releases. • Ensuring that SolrQuery::getFields(), SolrQuery::getFacets() et al returns an array consistently. • Lowering Libxml version to 2.6.16
  • 51. Where to get help Solr Wiki http://wiki.apache.org/solr/ Solr Mailing Lists [email protected] (send message) [email protected] (subscribe) PECL Extension Documentation on PHP.net http://www.php.net/solr Additional Resources http://wiki.apache.org/solr/SolrResources Articles on LucidImagination.com – lot of articles from experts in the community.
  • 53. WDPRO is Hiring Walt Disney Parks and Resorts Online is hiring for the following positions http://wdpro.jobs • Software Architects • Software Engineers • Web Developers • Automation Engineers • System Engineers • Release Engineers • Quality Assurance Engineers • Business Analysts • Project Managers • Technology Managers Email your resume -> [email protected] mail(“[email protected]”, “I am interested! Hook me up!”, “resume , contact info”);
  • 54. Feedback and Links Attendee Evaluation and Comments http://joind.in/2261 Link to Slides http://slidesha.re/bAXNF3 Sample Code (will be posted later) http://www.israelekpo.com/works Email [email protected]