News Feed
Sections




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

Matt Williams' Blog:
High level search with PHP and Apache Solr
March 19, 2010 @ 12:34:18

Matt Williams has a quick post to his blog about using the combination of PHP and Apache's Solr to more powerful searching than something like a MySQL fulltext index can give you.

When data sets get large and MySQL database querying to search become too load heavy and slow, full indexing is required. Several solutions are available but in this article I will be demonstrating the Apache foundations Solr Java Lucene implementation. For this a Java build will be required. Linux or Mac is less of a problem but for windows I use the Apache Tomcat server.

He shows ho to use the Solr PHP interface to make the connection to the server, ping it to be sure the connection is working and, based on the schema and search information, return a set of results in a PHP object.

0 comments voice your opinion now!
apache solr interface tutorial


blog comments powered by Disqus

Similar Posts

Evolt.org: Working With Fractions In CSS and PHP

DevShed: User-defined Interfaces in PHP 5 - Introduction to Core Concepts

Christian Schaefer's Blog: Using PHP Web Scraper Goutte in a Console Task in a Silex project

Matthew Weier O'Phinney: RESTful APIs with ZF2, Part 1

DevShed: Working with Private Properties to Protect PHP 5 Class Data


Community Events

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


api library unittest release wordpress podcast series framework development laravel interview opinion community introduction voicesoftheelephpant language laravel5 threedevsandamaybe extension feature

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