News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

System Architect:
Integrate PHP application with Solr search engine
March 12, 2013 @ 12:01:43

On the "System Architect" site there's a recent post showing you how to integrate PHP and Solr, the searching tool from the Apache project.

So why do you need a search engine, is database not enough? If you create a small website it might not matter. With medium or big size applications it's often wiser to go for a search engine. Saying that, even a small websites can benefit from Solr if you desire a high level of relevance in search results.

Their example involves an ecommerce website and a search for a term (iPhones) and how difficult it could be to match against the possible multiple variations on the models. Solr makes this kind of searching easier. He shows you how to get a Solr instance all set up and configured as well as the PHP PECL extension from here. A sample PHP script is also included showing connecting to Solr, inserting a new document and searching for a simple query of "hello".

0 comments voice your opinion now!
solr search engine tutorial integration pecl extension


blog comments powered by Disqus

Similar Posts

Zend Developer Zone: The HYSOCAMTT templating approach

Icant.co.uk: How to create thumbnails with PHP and gd

SitePoint PHP Blog: pTest: PHP Unit Tester in 9 Lines Of Code

Giorgio Sironi's Blog: Php login with Zend_Auth

RoofTopSolutions.nl: Caching in PHP using the filesystem, APC, and Memecached


Community Events





Don't see your event here?
Let us know!


community zendserver conference tips deployment release api bugfix interview symfony podcast laravel language code threedevsandamaybe voicesoftheelephpant series framework list introduction

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework