 | News Feed |
 | Jobs Feed |
Sections
|
| feed this: |  |
Zend Developer Zone: Indexing Email Messages with PHP, Zend Lucene and Sphinx
by Chris Cornutt August 20, 2009 @ 07: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.
voice your opinion now!
tutorial sphinx zendframework lucene search
Zend Developer Zone: Implementing a Stemming Analyzer for Zend_Search_Lucene
by Chris Cornutt October 22, 2008 @ 14: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.
voice your opinion now!
implement tutorial zendsearchlucene analyzer java lucene
SpinDrop.us: Using Zend Search Lucene in a symfony app
by Chris Cornutt August 28, 2006 @ 08:13:44
As mentioned by the Zend Developer Zone today, this new article over on Spindrop.us talks about a "cross-pollination" or sorts using the Zend Search Lucene module inside of a Symfony application.
If you're like me you've probably followed the Askeet tutorial on Search in order to create a decent search engine for your web app. It's fairly straight forward, but they hinted that when Zend Search Lucene (ZSL) is released, that might be the way to go. Well we are in luck, ZSL is available, so let's just dive right in.
If you aren't using symfony have a look at this article from the Zend Developer Zone. It covers just enough to get you started. If you are using symfony, just follow along and we'll get you where you need to go.
It's a detailed tutorial starting with the install and usaage of the Zend Lucene module, how to use it, how to make a search inside it, adding new users to the results, and exporting the new ZSL document on change - all from inside of Symfony.
voice your opinion now!
zend framework search lucene symfony tutorial application zend framework search lucene symfony tutorial application
Wolfgang Drews' Blog: Some thoughts on indexes & searching in MySQL / PHP
by Chris Cornutt June 05, 2006 @ 06:03:05
Giving your users a tool to find relevant invormation from the vast ocean that is the content of your site isn't easy sometimes. Even with the powerful combination of PHP and MySQL, it can be difficult to find what you're looking for. Wolfgang Drews shares in some of this frustration in his new blog post.
Using MySQL most of you will be familiar with this: searching in textfields for keywords is quite uncomfortable when using other table handler then MyISAM. If you use MyISAM, you can utilise the Fulltext-Search with MATCH … AGAINST. Otherwise you are thrown back to "simple" string comparison functions (LIKE). Not really satisfying. As this won't change with the 5.1er Version of MySQL, i have to search for another solution.
His other suggestions include the use of two other tables (terms in one, references back to content in another) or an external search option, such as the Zend Framework's implementation of the lucene functionality - Zend_Search.
voice your opinion now!
search mysql fulltext like lucene zend framework search mysql fulltext like lucene zend framework
|
Community Events
Don't see your event here? Let us know!
|