TYPO3 - Use advanced search using SOLR (TYPO3camp PL)

1,271 views

Published on

Talk was about using SOLR in TYPO3 projects.

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
1,271
On SlideShare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
3
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

TYPO3 - Use advanced search using SOLR (TYPO3camp PL)

  1. 1. TYPO3 & Apache SOLR Tomasz Grzemski
  2. 2. Who I am? Tomasz Grzemski Web Applications enthusiast Proud father Macopedia co-founder Open-source Educator
  3. 3. Macopedia Web Applications specialists Open-Source and Scrum Lovers 3 Offices in Poland (Poznan, Warsaw, Cracow) 17 employees
  4. 4. Do it with PHP?
  5. 5. Search using PHP&MySQL - SLOW! Spelling correction with PHP&MySQL SLOWER! Auto-suggestion on big index with PHP&MySQL - Can it kill a web application?
  6. 6. Introduction to Apache SOLR
  7. 7. It is a search platform! It is based on Lucene. It’s a Java application run on for example Tomcat/Jett It is based on documents (no relations)! Configuration based on schema!
  8. 8. PHP & Java
  9. 9. PHP side PHP & Java Communication based on REST-like API Results in XML & JSON Use Solr-php-client library (http://code.google.com/p/solrphp-client/) Create indexer for website Implement operations: Querying, adding/updating/deleteing documents
  10. 10. Java side PHP & Java Install SOLR Configure SOLR on Jetty/Tomcat Create cores for each index (multi language == multi core) Create schema for each core
  11. 11. Do it in way?
  12. 12. EXT:solr
  13. 13. How it works?
  14. 14. TypoScript!
  15. 15. How to start?
  16. 16. git://git.typo3.org/TYPO3v4/ Extensions/solr.git
  17. 17. Bash install tool for SOLR resources / shell / install-solr.sh Automatic installation of SOLR on Tomcat Create Cores for specified language Runs the server http://serwer:8080/solr/core_en/admin/
  18. 18. EXT:solr
  19. 19. Configure extension ext:solr
  20. 20. What about the index?
  21. 21. Image Sources: Library: http://www.edudemic.com/librarian-blogs/ Cat&Dog: http://trupanion.com/blog/2013/06/the-cat-dog-condundrum-sharing-a-harmonious-home/ (Photo by Peretz Partensky via Flickr) Developer: http://finickypenguin.wordpress.com/2008/07/13/my-head-exploded/ Baby: http://www.comicsandmemes.com/best-of-success-baby-meme/

×