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. 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. Alternatives
• Google Custom Search
• Fuzzy Search
• Elasticsearch
• Google Search Appliance
• …
Apache Solr Search
Search API (+ Solr)
7. What is Solr?
• Based on Lucene
• Written in Java, needs Java container such
as Tomcat or Jetty
• Separate Server
• Mathematical Indexing
• Fast!
• Replication / Solr Cloud
• Multiple indexes (Multicore)
• Which version to choose?
10. 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 site
• Optimized for Solr and
fault-tolerant
• Location based Search
• Views based
12. Modules Used in Demo
• Search keywords (apachesolr)
• Spelling corrections (apachesolr)
• There is an autocomplete textbox (apachesolr_autocomplete)
• Autocomplete also has the spelling corrections + shows the amount of results of your query
(apachesolr_autocomplete)
• facets (facetapi)
• facets with a tagcloud (facetapi_tagcloud)
• facets with checkboxes (facetapi)
• facets with a slider (facetapi_slider)
• facets that are collapsible (facetapi_collapsible)
• facets with range -> http://drupal.org/project/date_facets
• sort block (tuned by apachesolr_sort)
• relevancy tuning (apachesolr_proximity)
• Display Suite search result theming, optimized for Apache Solr(ds & ds_search)
• Attachment search. (apachesolr_attachments)
• Clean URL's of facets. (facetapi_pretty_paths)
• More like this. (apachesolr)
Powered by Free Tier Search (acquia_connector + acquia_search)
13. Acquia Search for Free!
• Try and test the abilities of Apache Solr for
Free with Acquia Cloud Free.
• Acquia Cloud Free – Your very own Drupal
Innovation Test Bed. Explore and Learn.
• Acquia Search – Starter Kit for Free comes
with:
2,000 queries/ month
5000 docs indexed
14. Questions
For more information visit:
http://www.acquia.com
Contact us: sales@acquia.com or 888.9.ACQUIA
Follow us: @acquia
For more product information visit:
docs.acquia.com
Today’s webinar recording will be posted to:
http://acquia.com/resources/recorded_webinars