Session:
http://leuven2015.drupalcamp.be/sessions/state-search-solr-and-facets-drupal-8
Presenters:
Nick Veenhof & Joris Vercammen
Description:
In this session I'll give you an overview what changed so far in Drupal 8 in regards to the Search eco-system. We will talk about Search API, Apache Solr, Facet API and Elastic Search.
Over the course of the last 3 years I've been involved in how Search in Drupal 8 should take form and what needed to change to merge the Apache Solr module with the Search API Solr module. In this presentation I hope to give you some guidance what is still pending and what already was done. I will also try to explain what effort it takes to push and move such projects.
Depending on the audience we can go really in-depth or stay general. Please let me know in advance what you expect from this session so I can tailor it to your needs!
4. Overview
• Created 2010 (for Drupal 7)
• Based on suggestions for Core Search
• Generic and flexible search tools
• Different data
• Different search engines
• Different types of user interfaces
5. The Big Merge
• 3 years in the making
• Crowdfunding campaign
• Drupal Dev Days & Drupalcon sprints
• Dedicated Sprint
• Google Summer of Code
• Lots and lots of tests
• Apache Solr for Drupal 7 stays
• Apache Solr for Drupal 6 is dead
6. The Drupal.org influence
• Issue queues in Drupal 8 are powered with Search
API Drupal 7 using the MySQL backend.
• Lots of optimizations happened due to this
adoption
• MySQL Backend more stable
7. The Community influence
• drunkenmonkey
• Thomas Seidl
• mollux
• Matthias Michaux
• berdir
• Sascha Grossenbacher
• amateescu
• Andrei Mateescu
• ekes
• Ekes
• alarcombe
• Andrew Larcombe
• aspilicious
• Bram Goffings
• freblasty
• Frédéric Hennequin
• And Many many more!
…
9. Basic Architecture
• Search index
• Generic information
• Search what?
• Search server
• Actual storage/retrieval
• Can use database, Solr, etc.
• Search how?
• Views / Search API Pages
• Search Display?
10. Index items immediately
• Pro
• No stale data
• Security concerns
• User experience
• Contra
• Performance. Batch updating is messy.
• Not using tracking table.
• Takes longer before result is searchable.
• Inconsistent data with Solr Replication vs
Solrcloud.
12. Solr
• Search API Solr with Solr 5
• Works natively with Search API.
• Tip: Use index Rendered Item with a view mode
13. Basic Usage of Search API
Solr
https://www.youtube.com/watch?v=nRM_RWHpqHw
14. What still needs to happen?
• Simplified UI
• More Views-like UI for “Fields”
• Wizard for easy search creation (Think Views)
• Indexing performance
• Caching
• Operators
• Solr
• Multi-site searching proof of concept across
Drupal 7 and Drupal 8 (Apachesolr + Search
API)
15. What’s more?
• Search API
• Alpha 9 Release
• Facet API
• Working Development version
• Search API Page
• Alpha Release
• Search API Solr
• Working Development Release
• Elastic Search
• Working Development version