Your SlideShare is downloading. ×
Apache Solr search for Drupal. Ievgen Kartakov.
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Apache Solr search for Drupal. Ievgen Kartakov.

2,173
views

Published on

Published in: Technology

0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
2,173
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
23
Comments
0
Likes
2
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide
  • http://www.acquia.com/products-services/acquia-search http://www.drupalconcept.com/hosting/pro-shared http://drupion.com/
  • What the other options available on the configuration.
  • Easy upgrades Most of the hosting doesn’t support Separated search index paths
  • Sometimes client needs simple filters – not faced one. Create custom filters with panes output (custom module)
  • Writing custom panes
  • Looks cool but this is all taxonomy )
  • The idea here to separate results by content type – we call it bundle In the theme we output process the array of the results and output by content type (casino-search-results.tpl.php) For the ajax overlay we just use different teplate
  • We need to provide the list of items we need – buildListItems function The custom theming to be able to add X sign for the items
  • Views 3
  • Different types of content to search
  • Jobbx sphinx indexer query
  • Transcript

    • 1. Apache Solr search for Drupal Ievgen Kartakov http://donetsk.drupal.ua
    • 2. Apache Solr search for Drupal Ievgen Kartakov Propeople | Ukraine Department Manager Nikname: creaoy Email: jk@propeople.com.ua
    • 3. CONTENTS
      • Basic things. Installation, configuration, multisite setup
      • Adding CCK fields to index, work with filters, theming results
      • Solr vs. Sphinx
    • 4. INSTALLATION
      • Server software
        • Require root access and hands.
        • Possible to setup multiple search paths
      • Hosting
        • Don ’ t require server configuration
        • Usually not cheap
    • 5. CONFIGURATION
      • Enable Drupal module
        • Configure host, port, patch variables
        • Select content types, configure weight for index
        • Run cron and wait for 2 min
    • 6. EXAMPLE: STANFORD CSI
    • 7. MULTISITE SETUP
      • Multiple site setup on one core
      • Useful for development server with different sites
      • Hosting companies doesn’t support this properly
    • 8. ADDING CCK FIELDS TO INDEX
    • 9. ADDING CCK FIELDS TO SEARCH QUERY
    • 10. EXAMPLE: 4ALLPROMOS
    • 11. FILTERS SEARCH RESULTS
      • Content type and taxonomy filters supported
      • Faceted search by default
      • D6. What to do with non standard filters?
    • 12. THEMING RESULTS PAGE
      • Simple template changing and text output search-result.tpl.php
    • 13. APACHE SOLR WITH…
      • Apache Solr Views (Apache Solr + Views 3)
        • Output results with view without database query
      • Apache Solr Panels (Apache Solr + Panels)
        • Build search page layout with panels
    • 14. EXAMPLE: CULTIVATE
    • 15. FILTERS CLOSER LOOK
    • 16. D7: APACHE SOLR MODULE
      • How to add fields into indexer (document)
      • How to execute results (if we need different content types on page)
      • Faceted api (if we need custom blocks)
    • 17. D7: ADDING TO INDEX
    • 18. D7: EXECUTE THE SEARCH
    • 19. D7: FACETED API
    • 20. EXAMPLE: CASINO.AT
    • 21. EXAMPLE: CASIONO.AT OVERLAY
    • 22. SOLR VS. SPHINX
      • Numbers? Nooo, just integration with Drupal
        • Both modules provide faceted search
        • Sphinx module for drupal 6 in dev but it works :)
        • Sphinx is not so popular in Drupal community
        • Indexing difference
        • How easy to integrate?
    • 23. EXAMPLE: SPHINX CONFIG
    • 24. EXAMPLE: SPHINX SEARCH RUN
    • 25. EXAMPLE: JOBBX.SE
    • 26. CONCLUSION
      • Sphinx is fast (makes craigslist’s search fly)
      • With sphinx you can run indexes as you want
      • With sphinx you will enjoy your time optimizing MySQL queries
      • But if you need good and fast solution just go with Solr
    • 27. Useful links
      • CONFIGURING APACHE SOLR MULTI-CORE WITH DRUPAL AND TOMCAT ON UBUNTU 9.10
      • Displaying CCK field data in Solr results
      • Comparison Between Solr And Sphinx Search Servers

    ×