News Feed
Jobs Feed
Sections




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

Spindrop.us:
Creating, Updating, Deleting documents in a Lucene Index with symfony
April 24, 2007 @ 15:28:00

In yet another follow-up in their series on using the Lucene search functionality the Zend Framework offers inside of Symfony.

Previously we covered an all-at-once approach to indexing objects in your symfony app. But for some reason, people find the need to allow users to sign up, or change their email addresses and then all of a sudden our wonderful Lucene index is out of date.

Here lies the strength of using Zend Search Lucene in your app, you can now get the flexibility of interacting with a Lucene index, no matter how it was created and add, update and delete documents to it.

Instead of going the "clunky" route of having a cron job update the search information nightly, they opt for a method that updates the database whenever new content is added/updated/deleted. They change up the class they generated before and add methods to reindex whenever each method is run.

2 comments voice your opinion now!
create update delete document zendframework symfonyframework search create update delete document zendframework symfonyframework search


blog comments powered by Disqus

Similar Posts

Ligaya Turmelle's Blog: PHPWomen update

Raphael Stolt's Blog: Scraping websites with Zend_Dom_Query

Padraic Brady's Blog: Zend Framework App Tutorial - Part 9: Zend_Vew and Displaying Blog Entries

Padraic Brady's Blog: An Example Zend Framework Blog App - Part 3: A Simple Hello World Tutorial

Community News: Fav.or.it Launch (Built on the Zend Framework)


Community Events











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


facebook introduction package composer hhvm language podcast install code application threedevsandamaybe opinion hack series release security component framework symfony2 unittest

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