apache solr - 2010.drupalcamp.es€¦ · future + views 3 drupalcamp spain - february 2010 –...
TRANSCRIPT
![Page 1: Apache Solr - 2010.drupalcamp.es€¦ · Future + Views 3 Drupalcamp Spain - February 2010 – Barcelona Integration with Views 3 + fields in Drupal 7 Faceted search with Views 3!](https://reader034.vdocuments.mx/reader034/viewer/2022052011/60279b82669a1370ae6a7f8a/html5/thumbnails/1.jpg)
![Page 2: Apache Solr - 2010.drupalcamp.es€¦ · Future + Views 3 Drupalcamp Spain - February 2010 – Barcelona Integration with Views 3 + fields in Drupal 7 Faceted search with Views 3!](https://reader034.vdocuments.mx/reader034/viewer/2022052011/60279b82669a1370ae6a7f8a/html5/thumbnails/2.jpg)
Apache Solr
Why does this
shines so bright?
Drupalcamp Spain - February 2010 – Barcelona
![Page 3: Apache Solr - 2010.drupalcamp.es€¦ · Future + Views 3 Drupalcamp Spain - February 2010 – Barcelona Integration with Views 3 + fields in Drupal 7 Faceted search with Views 3!](https://reader034.vdocuments.mx/reader034/viewer/2022052011/60279b82669a1370ae6a7f8a/html5/thumbnails/3.jpg)
Overview
About me Searching.. A hot topic Apache Solr
What/Why? Practical cases How to drupalize it (Acquia / Do it yourself) Extensions (Ubercart, Views..) Demo
Now or Future?
Drupalcamp Spain - February 2010 – Barcelona
![Page 4: Apache Solr - 2010.drupalcamp.es€¦ · Future + Views 3 Drupalcamp Spain - February 2010 – Barcelona Integration with Views 3 + fields in Drupal 7 Faceted search with Views 3!](https://reader034.vdocuments.mx/reader034/viewer/2022052011/60279b82669a1370ae6a7f8a/html5/thumbnails/4.jpg)
About me
Drupalcamp Spain - February 2010 – Barcelona
Drupal community Professional Drupal? Bachelor + (unfinished) Master in IT
nick_vh (twitter, drupal, …)
www.nickveenhof.be
![Page 5: Apache Solr - 2010.drupalcamp.es€¦ · Future + Views 3 Drupalcamp Spain - February 2010 – Barcelona Integration with Views 3 + fields in Drupal 7 Faceted search with Views 3!](https://reader034.vdocuments.mx/reader034/viewer/2022052011/60279b82669a1370ae6a7f8a/html5/thumbnails/5.jpg)
Searching, a hot topic!
Drupal search
Drupalcamp Spain - February 2010 – Barcelona
http://www.slideshare.net/heliorcolorado/apache-solr
cron.php Indexes word importance
http://acquia.com/blog/drupal-search-how-indexing-works
![Page 6: Apache Solr - 2010.drupalcamp.es€¦ · Future + Views 3 Drupalcamp Spain - February 2010 – Barcelona Integration with Views 3 + fields in Drupal 7 Faceted search with Views 3!](https://reader034.vdocuments.mx/reader034/viewer/2022052011/60279b82669a1370ae6a7f8a/html5/thumbnails/6.jpg)
Searching, a hot topic!
Search only scans index Word must be exact (player / players) Limited operators
Drupalcamp Spain - February 2010 – Barcelona
http://www.slideshare.net/heliorcolorado/apache-solr
Word Index
![Page 7: Apache Solr - 2010.drupalcamp.es€¦ · Future + Views 3 Drupalcamp Spain - February 2010 – Barcelona Integration with Views 3 + fields in Drupal 7 Faceted search with Views 3!](https://reader034.vdocuments.mx/reader034/viewer/2022052011/60279b82669a1370ae6a7f8a/html5/thumbnails/7.jpg)
What is Apache Solr?
Real Explaination .. Solr is an open source enterprise search server based on the Lucene Java search library, with XML/HTTP and JSON APIs, hit highlighting, faceted search, caching, replication, and a web administration interface. It runs in a Java servlet container such as Tomcat.
Java based application Incredible indexing features Blazingly fast Replication
Drupalcamp Spain - February 2010 – Barcelona
![Page 8: Apache Solr - 2010.drupalcamp.es€¦ · Future + Views 3 Drupalcamp Spain - February 2010 – Barcelona Integration with Views 3 + fields in Drupal 7 Faceted search with Views 3!](https://reader034.vdocuments.mx/reader034/viewer/2022052011/60279b82669a1370ae6a7f8a/html5/thumbnails/8.jpg)
What is Apache Solr?
Some air for your SQL database
Drupalcamp Spain - February 2010 – Barcelona
![Page 9: Apache Solr - 2010.drupalcamp.es€¦ · Future + Views 3 Drupalcamp Spain - February 2010 – Barcelona Integration with Views 3 + fields in Drupal 7 Faceted search with Views 3!](https://reader034.vdocuments.mx/reader034/viewer/2022052011/60279b82669a1370ae6a7f8a/html5/thumbnails/9.jpg)
What is Apache Solr?
Drupalcamp Spain - February 2010 – Barcelona
Source: Robert Douglass/Acquia
ApacheSolr is a Drupal Module http://drupal.org/project/apachesolr Integrates with a lot of other modules
![Page 10: Apache Solr - 2010.drupalcamp.es€¦ · Future + Views 3 Drupalcamp Spain - February 2010 – Barcelona Integration with Views 3 + fields in Drupal 7 Faceted search with Views 3!](https://reader034.vdocuments.mx/reader034/viewer/2022052011/60279b82669a1370ae6a7f8a/html5/thumbnails/10.jpg)
What is Apache Solr?
Drupalcamp Spain - February 2010 – Barcelona
Source: Robert Douglass/Acquia
Faceted Search Spelling suggestions Priority in fields (not D7 yet..) Content Recommendation (More like this) In file search (documents, ..)
![Page 11: Apache Solr - 2010.drupalcamp.es€¦ · Future + Views 3 Drupalcamp Spain - February 2010 – Barcelona Integration with Views 3 + fields in Drupal 7 Faceted search with Views 3!](https://reader034.vdocuments.mx/reader034/viewer/2022052011/60279b82669a1370ae6a7f8a/html5/thumbnails/11.jpg)
Faceted search
Drupalcamp Spain - February 2010 – Barcelona
![Page 12: Apache Solr - 2010.drupalcamp.es€¦ · Future + Views 3 Drupalcamp Spain - February 2010 – Barcelona Integration with Views 3 + fields in Drupal 7 Faceted search with Views 3!](https://reader034.vdocuments.mx/reader034/viewer/2022052011/60279b82669a1370ae6a7f8a/html5/thumbnails/12.jpg)
Spelling suggestions
Drupalcamp Spain - February 2010 – Barcelona
Source: Robert Douglass/Acquia
![Page 13: Apache Solr - 2010.drupalcamp.es€¦ · Future + Views 3 Drupalcamp Spain - February 2010 – Barcelona Integration with Views 3 + fields in Drupal 7 Faceted search with Views 3!](https://reader034.vdocuments.mx/reader034/viewer/2022052011/60279b82669a1370ae6a7f8a/html5/thumbnails/13.jpg)
More like this
Drupalcamp Spain - February 2010 – Barcelona
http://acquia.com/products-services/acquia-search-features
![Page 14: Apache Solr - 2010.drupalcamp.es€¦ · Future + Views 3 Drupalcamp Spain - February 2010 – Barcelona Integration with Views 3 + fields in Drupal 7 Faceted search with Views 3!](https://reader034.vdocuments.mx/reader034/viewer/2022052011/60279b82669a1370ae6a7f8a/html5/thumbnails/14.jpg)
Why?
Dissapointing default Drupal search... True?
Much better results
More people using search means longer visits
Faceted search
Seperating data and output
Much better scalability (replication)
Drupalcamp Spain - February 2010 – Barcelona
![Page 15: Apache Solr - 2010.drupalcamp.es€¦ · Future + Views 3 Drupalcamp Spain - February 2010 – Barcelona Integration with Views 3 + fields in Drupal 7 Faceted search with Views 3!](https://reader034.vdocuments.mx/reader034/viewer/2022052011/60279b82669a1370ae6a7f8a/html5/thumbnails/15.jpg)
Practical Cases
Drupal.org
Digg.com
Whitehouse.gov
CNET.com
Search.com
Plaxo.com
...
Drupalcamp Spain - February 2010 – Barcelona
![Page 16: Apache Solr - 2010.drupalcamp.es€¦ · Future + Views 3 Drupalcamp Spain - February 2010 – Barcelona Integration with Views 3 + fields in Drupal 7 Faceted search with Views 3!](https://reader034.vdocuments.mx/reader034/viewer/2022052011/60279b82669a1370ae6a7f8a/html5/thumbnails/16.jpg)
Practical Cases
Drupal.org
~50% of page requests get content through Solr Search Faceted searching allows more refined search Relevant Performance (a lot of drupalers in the world!)
Drupalcamp Spain - February 2010 – Barcelona
![Page 17: Apache Solr - 2010.drupalcamp.es€¦ · Future + Views 3 Drupalcamp Spain - February 2010 – Barcelona Integration with Views 3 + fields in Drupal 7 Faceted search with Views 3!](https://reader034.vdocuments.mx/reader034/viewer/2022052011/60279b82669a1370ae6a7f8a/html5/thumbnails/17.jpg)
How DIY?
http://krimson.be/articles/setup-drupal-6x-apache-solr-tomcat6-and-ubuntu
www.google.com
www.drupal.org
http://drupal.org - Yes another time! The search really works...!
Drupalcamp Spain - February 2010 – Barcelona
![Page 18: Apache Solr - 2010.drupalcamp.es€¦ · Future + Views 3 Drupalcamp Spain - February 2010 – Barcelona Integration with Views 3 + fields in Drupal 7 Faceted search with Views 3!](https://reader034.vdocuments.mx/reader034/viewer/2022052011/60279b82669a1370ae6a7f8a/html5/thumbnails/18.jpg)
How Acquia?
Hosted search service
In combination with Stack installer and basic or trial subscription – Up and running in 5 minutes!
http://acquia.com/products-services/acquia-search
http://acquia.com/downloads
Drupalcamp Spain - February 2010 – Barcelona
![Page 19: Apache Solr - 2010.drupalcamp.es€¦ · Future + Views 3 Drupalcamp Spain - February 2010 – Barcelona Integration with Views 3 + fields in Drupal 7 Faceted search with Views 3!](https://reader034.vdocuments.mx/reader034/viewer/2022052011/60279b82669a1370ae6a7f8a/html5/thumbnails/19.jpg)
Extensions
ApacheSolr Views integration
Multisite search
Local Solr (geospatial search)
ApacheSolr Attachments
ApacheSolr Ubercart
Webmail Plus
Exhibit
Project (D6 version)
Drupalcamp Spain - February 2010 – Barcelona
Solr Service
Apache Solr Stats
Apache Solr autocomplete
Apache Solr AJAX
Apache Solr Biblio
Simple Geo
Node displays
![Page 20: Apache Solr - 2010.drupalcamp.es€¦ · Future + Views 3 Drupalcamp Spain - February 2010 – Barcelona Integration with Views 3 + fields in Drupal 7 Faceted search with Views 3!](https://reader034.vdocuments.mx/reader034/viewer/2022052011/60279b82669a1370ae6a7f8a/html5/thumbnails/20.jpg)
Demo Drupalize it!
Drupalcamp Spain - February 2010 – Barcelona
Let's play!
![Page 21: Apache Solr - 2010.drupalcamp.es€¦ · Future + Views 3 Drupalcamp Spain - February 2010 – Barcelona Integration with Views 3 + fields in Drupal 7 Faceted search with Views 3!](https://reader034.vdocuments.mx/reader034/viewer/2022052011/60279b82669a1370ae6a7f8a/html5/thumbnails/21.jpg)
How?
Drupalcamp Spain - February 2010 – Barcelona
![Page 22: Apache Solr - 2010.drupalcamp.es€¦ · Future + Views 3 Drupalcamp Spain - February 2010 – Barcelona Integration with Views 3 + fields in Drupal 7 Faceted search with Views 3!](https://reader034.vdocuments.mx/reader034/viewer/2022052011/60279b82669a1370ae6a7f8a/html5/thumbnails/22.jpg)
Future + Views 3
Drupalcamp Spain - February 2010 – Barcelona
Integration with Views 3 + fields in Drupal 7
Faceted search with Views 3! Works partially, *CCK not implemented yet.
Custom Exposed filters
GeoSpatial Search (Understanding coordinates)
Even more separating the configuration from the output means better performance and scalability!
Imagine the possibilities?
*CCK: Content construction kit / custom field definitions
![Page 23: Apache Solr - 2010.drupalcamp.es€¦ · Future + Views 3 Drupalcamp Spain - February 2010 – Barcelona Integration with Views 3 + fields in Drupal 7 Faceted search with Views 3!](https://reader034.vdocuments.mx/reader034/viewer/2022052011/60279b82669a1370ae6a7f8a/html5/thumbnails/23.jpg)
Questions
Drupalcamp Spain - February 2010 – Barcelona