<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Using Zend Search Lucene in a symfony app</title>
	<atom:link href="http://spindrop.us/2006/08/25/using-zend-search-lucene-in-a-symfony-app/feed/" rel="self" type="application/rss+xml" />
	<link>http://spindrop.us/2006/08/25/using-zend-search-lucene-in-a-symfony-app/</link>
	<description>look at all this code you don't have to write</description>
	<lastBuildDate>Thu, 11 Mar 2010 09:27:00 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Heidi</title>
		<link>http://spindrop.us/2006/08/25/using-zend-search-lucene-in-a-symfony-app/comment-page-1/#comment-316124</link>
		<dc:creator>Heidi</dc:creator>
		<pubDate>Tue, 19 Jan 2010 19:14:36 +0000</pubDate>
		<guid isPermaLink="false">http://spindrop.us/2006/08/25/using-zend-search-lucene-in-a-symfony-app/#comment-316124</guid>
		<description>&lt;p&gt;In your last code snippet (the reindex function) 
$user-&gt;generateZSLDocument need a pair of parenthesis.&lt;/p&gt;

&lt;p&gt;Great tutorial.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>In your last code snippet (the reindex function) 
$user-&gt;generateZSLDocument need a pair of parenthesis.</p>

<p>Great tutorial.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Rodd</title>
		<link>http://spindrop.us/2006/08/25/using-zend-search-lucene-in-a-symfony-app/comment-page-1/#comment-303326</link>
		<dc:creator>Rodd</dc:creator>
		<pubDate>Mon, 03 Aug 2009 20:37:30 +0000</pubDate>
		<guid isPermaLink="false">http://spindrop.us/2006/08/25/using-zend-search-lucene-in-a-symfony-app/#comment-303326</guid>
		<description>&lt;p&gt;@Senthil
I believe all you need is to copy
- /Zend/Search folder
- /Zend/Exception.php&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>@Senthil
I believe all you need is to copy
- /Zend/Search folder
- /Zend/Exception.php</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Senthil Kumar R</title>
		<link>http://spindrop.us/2006/08/25/using-zend-search-lucene-in-a-symfony-app/comment-page-1/#comment-277469</link>
		<dc:creator>Senthil Kumar R</dc:creator>
		<pubDate>Tue, 26 May 2009 11:30:54 +0000</pubDate>
		<guid isPermaLink="false">http://spindrop.us/2006/08/25/using-zend-search-lucene-in-a-symfony-app/#comment-277469</guid>
		<description>&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;I didn&#039;t find the Zend.php in the ZF archive. Without Zend.php it work? Can anyone please help me.&lt;/p&gt;

&lt;p&gt;Thanks
Senthil&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi,</p>

<p>I didn&#8217;t find the Zend.php in the ZF archive. Without Zend.php it work? Can anyone please help me.</p>

<p>Thanks
Senthil</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Dave Dash</title>
		<link>http://spindrop.us/2006/08/25/using-zend-search-lucene-in-a-symfony-app/comment-page-1/#comment-85762</link>
		<dc:creator>Dave Dash</dc:creator>
		<pubDate>Fri, 22 Feb 2008 21:03:07 +0000</pubDate>
		<guid isPermaLink="false">http://spindrop.us/2006/08/25/using-zend-search-lucene-in-a-symfony-app/#comment-85762</guid>
		<description>&lt;p&gt;Hehe... I saw you twittering about Lucene ;)  It&#039;s good stuff.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hehe&#8230; I saw you twittering about Lucene <img src='http://spindrop.us/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />   It&#8217;s good stuff.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: ruzz</title>
		<link>http://spindrop.us/2006/08/25/using-zend-search-lucene-in-a-symfony-app/comment-page-1/#comment-85744</link>
		<dc:creator>ruzz</dc:creator>
		<pubDate>Fri, 22 Feb 2008 19:36:14 +0000</pubDate>
		<guid isPermaLink="false">http://spindrop.us/2006/08/25/using-zend-search-lucene-in-a-symfony-app/#comment-85744</guid>
		<description>&lt;p&gt;as always, you rock my world mr. dash.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>as always, you rock my world mr. dash.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Marcel</title>
		<link>http://spindrop.us/2006/08/25/using-zend-search-lucene-in-a-symfony-app/comment-page-1/#comment-55535</link>
		<dc:creator>Marcel</dc:creator>
		<pubDate>Mon, 22 Oct 2007 16:44:37 +0000</pubDate>
		<guid isPermaLink="false">http://spindrop.us/2006/08/25/using-zend-search-lucene-in-a-symfony-app/#comment-55535</guid>
		<description>&lt;p&gt;This tuto is correct, I do the same but I met evey time the same issue :
I start with some init ...
  the following statements =&gt;&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;public function indexAction()
{
    $sql=&#039;SELECT c_name, tKnownledgeID, c_descript FROM tKnownledge &#039;;
    $where=&#039;&#039;;
    $res = $this-&gt;connector-&gt;fetchAll($sql, $where);            
    foreach ($res as $index =&gt; $row){
        $doc = new Zend_Search_Lucene_Document();
        $doc-&gt;addField(Zend_Search_Lucene_Field::UnIndexed(&#039;url&#039;,$row[&#039;tKnownledgeID&#039;]));
        $doc-&gt;addField(Zend_Search_Lucene_Field::UnIndexed(&#039;created&#039;, &#039;2007-10-23&#039;));
        $doc-&gt;addField(Zend_Search_Lucene_Field::Text(&#039;title&#039;, $row[&#039;c_name&#039;]));
        $doc-&gt;addField(Zend_Search_Lucene_Field::UnIndexed(&#039;author&#039;, &quot;Eurordis&quot;));
        $doc-&gt;addField(Zend_Search_Lucene_Field::Text(&#039;comments&#039;, $row[&#039;c_descript&#039;]));         
        $this-&gt;view-&gt;indexer-&gt;addDocument($doc);
    }
    $this-&gt;view-&gt;indexer-&gt;commit(); 
}
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;I&#039;ve always an exception =&gt; Index compound file doesn&#039;t contain _0.del file.&lt;/p&gt;

&lt;p&gt;Have somebody an idea ?&lt;/p&gt;

&lt;p&gt;Thanks for your help&lt;/p&gt;

&lt;p&gt;Marcel&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>This tuto is correct, I do the same but I met evey time the same issue :
I start with some init &#8230;
  the following statements =&gt;</p>

<pre><code>public function indexAction()
{
    $sql='SELECT c_name, tKnownledgeID, c_descript FROM tKnownledge ';
    $where='';
    $res = $this-&gt;connector-&gt;fetchAll($sql, $where);            
    foreach ($res as $index =&gt; $row){
        $doc = new Zend_Search_Lucene_Document();
        $doc-&gt;addField(Zend_Search_Lucene_Field::UnIndexed('url',$row['tKnownledgeID']));
        $doc-&gt;addField(Zend_Search_Lucene_Field::UnIndexed('created', '2007-10-23'));
        $doc-&gt;addField(Zend_Search_Lucene_Field::Text('title', $row['c_name']));
        $doc-&gt;addField(Zend_Search_Lucene_Field::UnIndexed('author', "Eurordis"));
        $doc-&gt;addField(Zend_Search_Lucene_Field::Text('comments', $row['c_descript']));         
        $this-&gt;view-&gt;indexer-&gt;addDocument($doc);
    }
    $this-&gt;view-&gt;indexer-&gt;commit(); 
}
</code></pre>

<p>I&#8217;ve always an exception =&gt; Index compound file doesn&#8217;t contain _0.del file.</p>

<p>Have somebody an idea ?</p>

<p>Thanks for your help</p>

<p>Marcel</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Symfony - Eine Volltextsuche muss her! &#124; ausgebloggt.de</title>
		<link>http://spindrop.us/2006/08/25/using-zend-search-lucene-in-a-symfony-app/comment-page-1/#comment-54035</link>
		<dc:creator>Symfony - Eine Volltextsuche muss her! &#124; ausgebloggt.de</dc:creator>
		<pubDate>Fri, 12 Oct 2007 19:09:18 +0000</pubDate>
		<guid isPermaLink="false">http://spindrop.us/2006/08/25/using-zend-search-lucene-in-a-symfony-app/#comment-54035</guid>
		<description>&lt;p&gt;[...] der Klasse aus dem Zend Framework. Den Weg dazu beschreibt Johannes Schmidt hier im t8d-Blog oder auch hier Dave Dash auf Englisch. Wohl der zuverlässigere Weg, mit dem ich mich auch noch beschäftigen werde, aber das Plugin [...]&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>[...] der Klasse aus dem Zend Framework. Den Weg dazu beschreibt Johannes Schmidt hier im t8d-Blog oder auch hier Dave Dash auf Englisch. Wohl der zuverlässigere Weg, mit dem ich mich auch noch beschäftigen werde, aber das Plugin [...]</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Medieval Programming &#187; Blog Archive &#187; Integrating Lucene into Symfony - a wrap up</title>
		<link>http://spindrop.us/2006/08/25/using-zend-search-lucene-in-a-symfony-app/comment-page-1/#comment-50057</link>
		<dc:creator>Medieval Programming &#187; Blog Archive &#187; Integrating Lucene into Symfony - a wrap up</dc:creator>
		<pubDate>Sat, 15 Sep 2007 18:05:01 +0000</pubDate>
		<guid isPermaLink="false">http://spindrop.us/2006/08/25/using-zend-search-lucene-in-a-symfony-app/#comment-50057</guid>
		<description>&lt;p&gt;[...] Dave Dash provided the initial tutorial, based on some old ZSL implementation [...]&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>[...] Dave Dash provided the initial tutorial, based on some old ZSL implementation [...]</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Greg Herrington</title>
		<link>http://spindrop.us/2006/08/25/using-zend-search-lucene-in-a-symfony-app/comment-page-1/#comment-48825</link>
		<dc:creator>Greg Herrington</dc:creator>
		<pubDate>Tue, 04 Sep 2007 21:27:32 +0000</pubDate>
		<guid isPermaLink="false">http://spindrop.us/2006/08/25/using-zend-search-lucene-in-a-symfony-app/#comment-48825</guid>
		<description>&lt;p&gt;In version 1.0.1 of the Zend framewodk the Zend.php file is no longer used.  So....do this :&lt;/p&gt;

&lt;p&gt;ini&lt;em&gt;set(&#039;include&lt;/em&gt;path&#039;,ini&lt;em&gt;get(&#039;include&lt;/em&gt;path&#039;).&quot;:/path/to/lib:&quot;);
ini&lt;em&gt;set(&#039;include&lt;/em&gt;path&#039;,ini&lt;em&gt;get(&#039;include&lt;/em&gt;path&#039;).&quot;:/path/to/lib/Zend:&quot;);&lt;/p&gt;

&lt;p&gt;include &#039;Loader.php&#039;;&lt;/p&gt;

&lt;p&gt;Zend&lt;em&gt;Loader::loadClass(&#039;Zend&lt;/em&gt;Search&lt;em&gt;Lucene&#039;); Zend&lt;/em&gt;Loader::loadClass(&#039;Zend&lt;em&gt;Search&lt;/em&gt;Exception&#039;); &lt;/p&gt;

&lt;p&gt;I think. :)&lt;/p&gt;

&lt;p&gt;cheers,&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>In version 1.0.1 of the Zend framewodk the Zend.php file is no longer used.  So&#8230;.do this :</p>

<p>ini<em>set(&#8216;include</em>path&#8217;,ini<em>get(&#8216;include</em>path&#8217;).&#8221;:/path/to/lib:&#8221;);
ini<em>set(&#8216;include</em>path&#8217;,ini<em>get(&#8216;include</em>path&#8217;).&#8221;:/path/to/lib/Zend:&#8221;);</p>

<p>include &#8216;Loader.php&#8217;;</p>

<p>Zend<em>Loader::loadClass(&#8216;Zend</em>Search<em>Lucene&#8217;); Zend</em>Loader::loadClass(&#8216;Zend<em>Search</em>Exception&#8217;); </p>

<p>I think. <img src='http://spindrop.us/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>

<p>cheers,</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Martin Poirier Théorêt</title>
		<link>http://spindrop.us/2006/08/25/using-zend-search-lucene-in-a-symfony-app/comment-page-1/#comment-41288</link>
		<dc:creator>Martin Poirier Théorêt</dc:creator>
		<pubDate>Sat, 14 Jul 2007 21:48:26 +0000</pubDate>
		<guid isPermaLink="false">http://spindrop.us/2006/08/25/using-zend-search-lucene-in-a-symfony-app/#comment-41288</guid>
		<description>&lt;p&gt;Hi dave, &lt;/p&gt;

&lt;p&gt;I&#039;m working on the integration of the zend&lt;em&gt;search&lt;/em&gt;lucene and everything is working fine except for two points (who are obviously really important)&lt;/p&gt;

&lt;p&gt;A number search is not working :&lt;/p&gt;

&lt;p&gt;Exemple&lt;/p&gt;

&lt;p&gt;$query = &#039;contents:999&#039; &lt;/p&gt;

&lt;p&gt;The field contents is text (who is set to default anyway) doesn&#039;t return anything even if 999 is present.&lt;/p&gt;

&lt;p&gt;Other things, I need to specify a limit/offset like a sql query... Since it will be possible in my case to have a 10 000 result I would need to do a paginator system... And obviously I cannot load everything in memory for every search to do my own pagination system. I did found anything on the web and I&#039;m planning to do my own search systme in database who will work but it will be a lot of job since it&#039;s already working well (without this 2 exception).&lt;/p&gt;

&lt;p&gt;I have another issue who is about search between two dates do you have a suggestion ? Or it&#039;s still a dead end !&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi dave, </p>

<p>I&#8217;m working on the integration of the zend<em>search</em>lucene and everything is working fine except for two points (who are obviously really important)</p>

<p>A number search is not working :</p>

<p>Exemple</p>

<p>$query = &#8216;contents:999&#8242; </p>

<p>The field contents is text (who is set to default anyway) doesn&#8217;t return anything even if 999 is present.</p>

<p>Other things, I need to specify a limit/offset like a sql query&#8230; Since it will be possible in my case to have a 10 000 result I would need to do a paginator system&#8230; And obviously I cannot load everything in memory for every search to do my own pagination system. I did found anything on the web and I&#8217;m planning to do my own search systme in database who will work but it will be a lot of job since it&#8217;s already working well (without this 2 exception).</p>

<p>I have another issue who is about search between two dates do you have a suggestion ? Or it&#8217;s still a dead end !</p>]]></content:encoded>
	</item>
</channel>
</rss>
