Your SlideShare is downloading. ×
0
Magento + Apache Solr
Magento + Apache Solr
Magento + Apache Solr
Magento + Apache Solr
Magento + Apache Solr
Magento + Apache Solr
Magento + Apache Solr
Magento + Apache Solr
Magento + Apache Solr
Magento + Apache Solr
Magento + Apache Solr
Magento + Apache Solr
Magento + Apache Solr
Magento + Apache Solr
Magento + Apache Solr
Magento + Apache Solr
Magento + Apache Solr
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

Magento + Apache Solr

4,798

Published on

Published in: Lifestyle, Technology, Education
3 Comments
0 Likes
Statistics
Notes
  • We purchased http://mirasvit.com/magento-extensions/sphinx-search-ultimate.html for our EE 1.11.1.0 cluster after struggling with Solr for 10 months. I was blown away with this company and this module.

    #1: The customer service is excellent! Do not hesitate to contact them.
    #2: The extension is very intuitive and gives great flexibility.
    #3: The search results with this extension and Sphinx are far superior to anything I've seen for Magento.
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Very informative post. Thank you ! AdamPascal
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Indekspot.com offers trouble free professional Apache Solr hosting
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Be the first to like this

No Downloads
Views
Total Views
4,798
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
32
Comments
3
Likes
0
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

Transcript

  • 1. Magento Solr Damian Luszczymak 1
  • 2. Damian Luszczymak • Fachinformatiker • Wirtschaftsinformatik • PHP, Java, Objective-C • Magento seit Beta • Datenimport / Suche http://connect.get-the-code.de 2
  • 3. Magento Solr • Warum Solr? • Herausforderung • Testumgebung • Vergleich 3
  • 4. Warum Solr? • Performance • Facetten Suche • Replication / Skalierung • Open Source • SAU SCHNELL vs. Magento Performance 4
  • 5. Magento Performance • EAV Prinzip ist langsam => Flat Tables • Filterung / Suche generiert komplexe Queries • Damals suche über 5 Minuten bei 60.000 Produkten • Aktuell noch immer zu langsam (1-2 sec.) 5
  • 6. Herausforderung • Import der • Facetten Daten • Volltextsuche • Schnittstelle • Tags Magento • Updates 6
  • 7. Testumgebung • Macbook mit • Alle Cache SSD, 4GB RAM aktiviert • Magento 1.4.1 • MAMP, XAMPP • 8.200 Produkte • PHP 5.3 • Solr 1.4 7
  • 8. Solr • Lucene Index Struktur • Index enthält Dokumente • Dokumente haben Felder 8
  • 9. Solr APIs • HTTP GET/POST (curl oder anderer HTTP client) • JSON • solr-ruby • solr-php-client 9
  • 10. Ist das einfach !!! 1. Solr starten java -jar start.jar 2. Index füllen java -jar post.jar *.xml 3. Suchen http://localhost:8983/solr 10
  • 11. Konfiguration • schema.xml • Feld Typen und Felder • solrconfig.xml • Cache Einstellungen: filter, query, document • warming listeners • HTTP Cache Einstellungen • plugins: spell checking, highlighting 11
  • 12. Solr add/update <add><doc> <field name="id">MA147LL/A</field> <field name="name">Apple 60 GB iPod with Video Playback Black</field> <field name="manufacturer">Apple Computer Inc.</field> <field name="cat">electronics</field> <field name="cat">music</field> <field name="features">iTunes, Podcasts, Audiobooks</field> <field name="features">2.5-inch, 320x240 color TFT LCD display with LED backlight</field> <field name="features">Up to 20 hours of battery life</field> <field name="features">Plays AAC, MP3, WAV, AIFF, Audible, Apple Lossless</field> <field name="includes">earbud headphones, USB cable</field> <field name="weight">5.5</field> <field name="price">399.00</field> <field name="popularity">10</field> <field name="inStock">true</field> </doc></add> 12
  • 13. Beispiel Suche • http://localhost:8983/solr/select?q=query • &start=50 • &rows=25 • &fq=filter+query • &facet=on&facet.field=category 13
  • 14. Vergleich ca. 8200 Produkte bitte warten.... 200.000 150.000 100.000 50.000 0 Magento Indexer Solr Indexer 161 sec 7 sec 14
  • 15. Beta Anmeldung unter solr-beta@icyapp.de 15
  • 16. Anmerkungen oder Fragen? 16
  • 17. Kontakt Damian Luszczymak @daimcity +49-160-94 90 19 32 info@icyapp.de 17

×