<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Fri, 04 Jul 2008 16:48:46 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Markus Wolff's Blog: Fulltext search as a webservice]]></title>
      <guid>http://www.phpdeveloper.org/news/10134</guid>
      <link>http://www.phpdeveloper.org/news/10134</link>
      <description><![CDATA[<p>
In a <a href="http://blog.wolff-hamburg.de/archives/22-Fulltext-search-as-a-webservice.html">recent blog entry</a> about a fulltext searching solution, <i>Markus Wolff</i> hacked together in a few hours with Zend_Search_Lucene:
</p>
<blockquote>
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.
</blockquote>
<p>
<a href="http://blog.wolff-hamburg.de/archives/22-Fulltext-search-as-a-webservice.html">His method</a> allowed for separation between the indexing and the main app and how he changes some of his methods when he learned that <a href="http://lucene.apache.org/solr/">Solr</a> did something very similar. He also lays out some example XML content and how it's handled in his script (via a SimpleXML object).
</p>]]></description>
      <pubDate>Wed, 07 May 2008 12:57:47 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Community News: Forage - A Search Abstraction Layer]]></title>
      <guid>http://www.phpdeveloper.org/news/9591</guid>
      <link>http://www.phpdeveloper.org/news/9591</link>
      <description><![CDATA[<p>
A different sort of abstraction layer project has been started up and has already seen a few releases - <a href="http://code.google.com/p/forage">Forage</a>. As mentioned on <i>Rob Young</i>'s blog:
</p>
<blockquote>
<p>
Recently I've been working on a search abstraction library for PHP called Forage. The idea is to bring to search what we've had for relational databases for quite a while, abstraction. 
</p>
<p>
On Friday I put up a preview release with three backends; Solr, Xapian and Zend Search Lucene. At the moment it has the bare minimum of features but there will be more soon. In this post I'm going to talk a little about the motivation for the project and then walk through a short example.
</p>
</blockquote>
<p>
He talks about the need for search abstraction (integration and resilience to change) before getting into an example of some code that grabs the data from an RSS feed, passes it in to the <a href="http://xapian.org/">Xapian</a> search engine and stores it before looking it over for thier search terms ("yahoo microsoft").
</p>
<p>
You can <a href="http://code.google.com/p/forage/downloads/list">download the library</a> if you'd like to try it out for yourself.
</p>]]></description>
      <pubDate>Fri, 08 Feb 2008 11:16:00 -0600</pubDate>
    </item>
  </channel>
</rss>
