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

PHPBuilder.com:
Using Zend_Search_Lucene, the PHP Lucene Implementation
Jul 07, 2011 @ 17:43:32

On PHPBuilder.com today there's a new tutorial from Jason Gilmore about using the Zend_Search_Lucene component of the Zend Framework to index and search your data.

In this article I'll show you how to undertake the former approach using PHP's most prominent Lucene implementation, which also happens to be part of the Zend Framework: the Zend_Search_Lucene component.

After briefly introducing the Zend_Search_Lucene component he gets to a practical use - being able to search through submitted information on any and all fields quickly. He includes the code to insert the information into the Lucene data and how to search and retrieve it back out the other side. He also includes a brief example of indexing on a certain field to make it even faster.

tagged: zendsearchlucene lucene zendframework tutorial

Link:

Zend Developer Zone:
Indexing Email Messages with PHP, Zend Lucene and Sphinx
Aug 20, 2009 @ 12:52:29

New on the Zend Developer Zone is this new tutorial about combining the Sphinx and the Zend Framework to search and index email messages from a remote mailbox. He'll also compare it to the Zend Framwork Lucene indexing tool.

Over the next few pages, I'll run you through what I did and the steps I took to index a large email collection with Sphinx. I'll also try the same thing with another very common text search engine, the Zend Framework's Lucene implementation, in order to compare and contrast the differences between the two approaches.

The tutorial shows how to install the PEAR packages needed to access the mailbox, includes a quick look at installing Sphinx and the code to create the searchable index (and perform a search) for each tool. Screenshots are included so you can see the desired results.

tagged: tutorial sphinx zendframework lucene search

Link:

Zend Developer Zone:
Implementing a Stemming Analyzer for Zend_Search_Lucene
Oct 22, 2008 @ 19:11:25

On the Zend Developer Zone today there's a new tutorial posted that shows how to use the Zend_Search_Lucene component of the Zend Framework to create a stemming analyzer.

The Zend implementation of Lucene provides a powerful tool set for those looking to implement a Google-like search for their PHP web application. One of the requirements in creating a Google-like search with Zend is the creation of a stemming, stop word filtering, lower-casing analyzer. This article will briefly discuss the basic role of an analyzer in the Lucene API, my implementation of a new "StandardAnalyzer" for the Zend_Search_Lucene component of the Zend Framework, the inner workings of this analyzer, and its basic usage.

It talks about the creation of an analyzer - a tool that splits out words, removes some of the most common and standardizes the contents (like making it all lowercase such as the StandardAnalyzer in Java's Lucene does). The author has come up with his own implementation in PHP and works through it, explaining how it works and where to put the data and language files it would need to pull from.

tagged: implement tutorial zendsearchlucene analyzer java lucene

Link:

Zend Developer Zone:
Upcoming Zend Webinars
Oct 17, 2007 @ 13:45:00

The Zend Developer Zone has posted about some of their (Zend's) upcoming webcasts/webinars for the next two months:

On a regular basis, Zend hosts free Webinars on a variety of Zend and PHP related topics. They keep a lost of them over at the Zend site but occasionally, I like to list them here to make sure all DevZone readers are aware of them.

The list includes:

Both the pages for each of the webinars and the Zend Developer Zone post have summaries of what each is about.

tagged: webinar zend neon migration zendframework database lucene security webinar zend neon migration zendframework database lucene security

Link:

Zend Developer Zone:
Upcoming Zend Webinars
Oct 17, 2007 @ 13:45:00

The Zend Developer Zone has posted about some of their (Zend's) upcoming webcasts/webinars for the next two months:

On a regular basis, Zend hosts free Webinars on a variety of Zend and PHP related topics. They keep a lost of them over at the Zend site but occasionally, I like to list them here to make sure all DevZone readers are aware of them.

The list includes:

Both the pages for each of the webinars and the Zend Developer Zone post have summaries of what each is about.

tagged: webinar zend neon migration zendframework database lucene security webinar zend neon migration zendframework database lucene security

Link:

Rob Allen's Blog:
Luke - Lucene Index Toolbox
Sep 24, 2007 @ 12:57:00

Rob Allen quickly points out a tool that Lucene users (Zend Framework and otherwise) can use to check out the contents of their indexing files.

If you want to understand what's in your Zend_Search_Lucene index files, then download Luke (http://www.getopt.org/luke/) and point it at the directory containing your index files.

He also includes a screenshot to give you an idea of the interface.

Luke bills itself as: "a handy development and diagnostic tool, which accesses already existing Lucene indexes and allows you to display and modify their contents in several ways [including] view documents / copy to clipboard, selectively delete documents from the index and optimize indexes".

tagged: lucene toolbox search index zendframework zendsearchlucene lucene toolbox search index zendframework zendsearchlucene

Link:

Rob Allen's Blog:
Luke - Lucene Index Toolbox
Sep 24, 2007 @ 12:57:00

Rob Allen quickly points out a tool that Lucene users (Zend Framework and otherwise) can use to check out the contents of their indexing files.

If you want to understand what's in your Zend_Search_Lucene index files, then download Luke (http://www.getopt.org/luke/) and point it at the directory containing your index files.

He also includes a screenshot to give you an idea of the interface.

Luke bills itself as: "a handy development and diagnostic tool, which accesses already existing Lucene indexes and allows you to display and modify their contents in several ways [including] view documents / copy to clipboard, selectively delete documents from the index and optimize indexes".

tagged: lucene toolbox search index zendframework zendsearchlucene lucene toolbox search index zendframework zendsearchlucene

Link:

Dave Dash's Blog:
Boosting terms in Zend Search Lucene
May 30, 2007 @ 13:49:00

On the SpinDrop blog today, Dave Dash continues his look at the Lucene search engine for the Zend Framework with this new post showing how to boost certain terms' relevance in the search results.

Lucene supports boosting or weighting terms. For example, if I search for members of a web site, and I type in Dash, I want people with the name Dash to take precedence over somebody who has a hobby of running the 50-yard Dash.

He shows how to, with the help of a few simple lines of PHP code added to your application, you can easily boost terms based on field by whatever multiplier you choose.

tagged: boost term result search lucene zendframework zendsearch boost term result search lucene zendframework zendsearch

Link:

Dave Dash's Blog:
Boosting terms in Zend Search Lucene
May 30, 2007 @ 13:49:00

On the SpinDrop blog today, Dave Dash continues his look at the Lucene search engine for the Zend Framework with this new post showing how to boost certain terms' relevance in the search results.

Lucene supports boosting or weighting terms. For example, if I search for members of a web site, and I type in Dash, I want people with the name Dash to take precedence over somebody who has a hobby of running the 50-yard Dash.

He shows how to, with the help of a few simple lines of PHP code added to your application, you can easily boost terms based on field by whatever multiplier you choose.

tagged: boost term result search lucene zendframework zendsearch boost term result search lucene zendframework zendsearch

Link:

Dave Dash's Blog:
Finding things using Zend Search Lucene in symfony
May 24, 2007 @ 16:12:00

On the Spindrop Blog today, there's the series wrapup for their look at using the Zend Search Lucene functionality inside of a Symfony application.

This is part of an on going series about the Zend Search Lucene libraries and symfony. We'll pretty everything up when we're done. We now know how to manipulate the index via our model classes. But let's actually do something useful with our search engine...let's search!

This quick post shows how to initialize the object and run the find() on the data and fetch out the results. They even work the script so that, if the index for the search isn't there, it generates it on the fly, then makes the search.

tagged: zendsearch lucene symfony search tutorial zendsearch lucene symfony search tutorial

Link:


Trending Topics: