Tips for Tuning Solr Search: No
Coding Required
Nick Veenhof
Senior Search Engineer, Acquia
June 25, 2013
Welcome
Nick Veenhof
Senior Search Engineer at Acquia

@Nick_vh
http://nickveenhof.be
Drupal Core Search
Cron.php
 Indexing process
Interval defines how often updated content is being
processed and sent to the...
Drupal Core Search
•  HTML Tag Scores	

•  <H1> = 25	

•  <H2> = 18	

•  Accent Removal	

•  Montréal => Montreal	

•  Ste...
Drupal Core Search
•  SQL Not optimized for full text
search	

•  Limited Operators	

•  Slow and not scalable enough	

• ...
Alternatives
•  Google Custom Search	

•  Fuzzy Search	

•  Elasticsearch	

•  Google Search Appliance	

Apache Solr Searc...
What is Solr?
•  Based on Lucene	

•  Written in Java, needs Java container such as
Tomcat or Jetty	

•  Separate Server	
...
What is Solr?
•  Fast!	

•  Replication / Solr Cloud	

•  Multiple indexes (Multicore)	

•  Which version to choose?	

•  ...
Architecture
Webserver/Drupal	

*SQL	

Solr	

GET (POST)	

search	

POST	

index
DIY?
https://www.acquia.com/blog/simple-guide-install-apache-solr-3x-drupal-7	

Careful…	

•  No Security	

•  High Availa...
Drupal Modules
Apache Solr & Search API	

In Common	

•  Search pages	

•  Solr Search	

•  Facet API	

•  Autocomplete	

...
Tips for Tuning Solr Search: No Coding Required
Tips for Tuning Solr Search: No Coding Required
Tips for Tuning Solr Search: No Coding Required
Tips for Tuning Solr Search: No Coding Required
Tips for Tuning Solr Search: No Coding Required
Tips for Tuning Solr Search: No Coding Required
Tips for Tuning Solr Search: No Coding Required
Upcoming SlideShare
Loading in...5
×

Tips for Tuning Solr Search: No Coding Required

2,731

Published on

Helping online visitors easily find what they’re looking for is key to a website’s success. In this webinar, you’ll learn how to improve search in ways that don’t require any coding or code changes. We’ll show you easy modifications to tune up the relevancy to more advanced topics, such as altering the display or configuring advanced facets.

Acquia’s Senior Search Engineer, Nick Veenhof , will guide you step by step through improving the search functionality of a website, using an in-house version of an actual conference site.

Some of the search topics we'll demonstrate include:
• Clean faceted URL’s
• Adding sliders, checkboxes, sorting and more to your facets
• Complete customization of your search displays using Display Suite
• Tuning relevancy by using Solr optimizations

This webinar will make use of the Facet API module suite in combination with the Apache Solr Search Integration module suite. We'll also use some generic modules to improve the search results that are independent of the search technology that is used. All of the examples shown are fully supported by Acquia Search.

Published in: Technology
0 Comments
4 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
2,731
On Slideshare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
41
Comments
0
Likes
4
Embeds 0
No embeds

No notes for slide

Tips for Tuning Solr Search: No Coding Required

  1. 1. Tips for Tuning Solr Search: No Coding Required Nick Veenhof Senior Search Engineer, Acquia June 25, 2013
  2. 2. Welcome Nick Veenhof Senior Search Engineer at Acquia @Nick_vh http://nickveenhof.be
  3. 3. Drupal Core Search Cron.php Indexing process Interval defines how often updated content is being processed and sent to the index.
  4. 4. Drupal Core Search •  HTML Tag Scores •  <H1> = 25 •  <H2> = 18 •  Accent Removal •  Montréal => Montreal •  Stemming •  skips, skipping = skip Tip: Use porterstemmer to improve stemming in Drupal Core Search
  5. 5. Drupal Core Search •  SQL Not optimized for full text search •  Limited Operators •  Slow and not scalable enough •  Stemming needs to happen in the PHP side, not optimized •  Dead ends
  6. 6. Alternatives •  Google Custom Search •  Fuzzy Search •  Elasticsearch •  Google Search Appliance Apache Solr Search Integration Search API (+ Solr)
  7. 7. What is Solr? •  Based on Lucene •  Written in Java, needs Java container such as Tomcat or Jetty •  Separate Server •  Mathematical Indexing
  8. 8. What is Solr? •  Fast! •  Replication / Solr Cloud •  Multiple indexes (Multicore) •  Which version to choose? •  3.6.2 is very stable and proven to work with all modules •  4.3.1 If you want to be brave.
  9. 9. Architecture Webserver/Drupal *SQL Solr GET (POST) search POST index
  10. 10. DIY? https://www.acquia.com/blog/simple-guide-install-apache-solr-3x-drupal-7 Careful… •  No Security •  High Availability is not trivial
  11. 11. Drupal Modules Apache Solr & Search API In Common •  Search pages •  Solr Search •  Facet API •  Autocomplete •  Attachments •  Sorting •  Solr Configs! Differences •  Architected for multisite •  Architected for large-scale sites •  Optimized for Solr and
  1. Gostou de algum slide específico?

    Recortar slides é uma maneira fácil de colecionar informações para acessar mais tarde.

×