News Feed
Sections
News Archive


Community Events
php|tek 2008 PHP Conference



feed this:

Markus Wolff's Blog:
Fulltext search as a webservice
0 comments :: posted Wednesday May 07, 2008 @ 12:57:47
voice your opinion now!

In a recent blog entry about a fulltext searching solution, Markus Wolff hacked together in a few hours with Zend_Search_Lucene:

While working at some really old code that provided a fulltext search feature, I was at one point incredibly pissed rather unsatisfied due to the fact that said code resisted all attempts to debug it. This lead to the decision to sit down on a rainy weekend to try if I couldn't come up with something more useful, and most importantly, scalable.

His method allowed for separation between the indexing and the main app and how he changes some of his methods when he learned that Solr did something very similar. He also lays out some example XML content and how it's handled in his script (via a SimpleXML object).

tagged with: fulltext search xml document zendsearchlucene zendframework solr


Maarten Balliauw's Blog:
Indexing Word 2007 (docx) files with Zend_Search_Lucene
0 comments :: posted Tuesday February 05, 2008 @ 10:24:00
voice your opinion now!

Maarten Balliauw has written about a method he's developed to convince the Zend_Search_Lucene component of the Zend Framework to index the contents of a Word 2007 document.

Lucene basically is an indexing and search technology, providing an easy-to-use API to create any type of application that has to do with indexing and searching. If you provide the right methods to extract data from any type of document, Lucene can index it. [...] Sounds like a challenge!

He works through the three step process to getting the searching working, the key being his readDocXContents() function that goes through the Word file and returns all the text it can find. This is passed back out so the Zend Framework component can pull the data in and search (their example is on the string "Code Access Security").

You can grab the the full code here.

tagged with: zendframework zendsearchlucene word document download code

Kapustabrothers.com:
Indexing PDF Documents with Zend_Search_Lucene
0 comments :: posted Wednesday January 23, 2008 @ 07:58:00
voice your opinion now!

As mentioned on the Zend Developer Zone, there's a new post on kapustabrothers.com about a method for indexing all of those PDF files your site uses with the help of the Zend Framework's Zend_Search_Lucene component.

along with many others have been trying and asking how to index and search PDF files. Once Zend released its Framework, which is a port of Java Lucene to PHP, I decided to jump on board and find a way to index and search PDF files.

He uses the XPDF software to parse out the PDF files and the ZF component to do the actual indexing and searching. XPDF extracts key information from the PDF and puts it out to a new file where Zend_Search_Lucene can get to it. Example code is included to show the automatic creation of these details and how to add them to the component's index.

tagged with: zendframework zendsearchlucene pdf index document tutorial


PHP5 ajax code application security database developer releases package PEAR book mysql zendframework release framework job conference cakephp pecl zend

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