7. 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?
9. 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!
11. 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
12. 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
25. 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/