<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.3.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments on: Zend Lucene Search - part2 - Real time indexing</title>
	<link>http://ganeshhs.com/zend-framework/zend-search-lucene-part2-real-time-indexing</link>
	<description>Thoughts on open source technologies, search engine optimization, website security</description>
	<pubDate>Fri, 21 Nov 2008 00:22:46 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.1</generator>
		<item>
		<title>By: Ganesh H S , Bangalore, India</title>
		<link>http://ganeshhs.com/zend-framework/zend-search-lucene-part2-real-time-indexing#comment-580</link>
		<dc:creator>Ganesh H S , Bangalore, India</dc:creator>
		<pubDate>Mon, 02 Jun 2008 06:12:15 +0000</pubDate>
		<guid>http://ganeshhs.com/zend-framework/zend-search-lucene-part2-real-time-indexing#comment-580</guid>
		<description>Rauan-

Try these -

#1. Delete the existing indexed files -
Go to the path which you mentioned when creating index, that will be the folder, go inside the folder, delete the files which exists and run the script to index again.

#2. Use these commands at the end of the script -
$index-&gt;commit();  
$index-&gt;optimize(); 
 
$index is a zend search lucene document object($index = new Zend_Search_Lucene_Document();)

#3. Whats the size of the data you are indexing, and since the indexed data is stored as files, make sure you have that much space in the file system.

If you still have a problem feel free to contact me or u can ping me to my chat ids -
ganesh.ganny at gmail.com
ganesh_ganny at yahoo.co.in</description>
		<content:encoded><![CDATA[<p>Rauan-</p>
<p>Try these -</p>
<p>#1. Delete the existing indexed files -<br />
Go to the path which you mentioned when creating index, that will be the folder, go inside the folder, delete the files which exists and run the script to index again.</p>
<p>#2. Use these commands at the end of the script -<br />
$index->commit();<br />
$index->optimize(); </p>
<p>$index is a zend search lucene document object($index = new Zend_Search_Lucene_Document();)</p>
<p>#3. Whats the size of the data you are indexing, and since the indexed data is stored as files, make sure you have that much space in the file system.</p>
<p>If you still have a problem feel free to contact me or u can ping me to my chat ids -<br />
ganesh.ganny at gmail.com<br />
ganesh_ganny at yahoo.co.in</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rauan</title>
		<link>http://ganeshhs.com/zend-framework/zend-search-lucene-part2-real-time-indexing#comment-555</link>
		<dc:creator>Rauan</dc:creator>
		<pubDate>Sat, 31 May 2008 08:13:42 +0000</pubDate>
		<guid>http://ganeshhs.com/zend-framework/zend-search-lucene-part2-real-time-indexing#comment-555</guid>
		<description>Ok. The problem is that when I'm committing the document to index script fails with exception

Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 1335492579 bytes) in Zend/Search/Lucene/Storage/File/Filesystem.php

But it's really-really strange why it's trying to allocate over ~1.24 Gb while my index is only 270Kb. The script is written on the same principles as your example.</description>
		<content:encoded><![CDATA[<p>Ok. The problem is that when I&#8217;m committing the document to index script fails with exception</p>
<p>Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 1335492579 bytes) in Zend/Search/Lucene/Storage/File/Filesystem.php</p>
<p>But it&#8217;s really-really strange why it&#8217;s trying to allocate over ~1.24 Gb while my index is only 270Kb. The script is written on the same principles as your example.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ganesh H S , Bangalore, India</title>
		<link>http://ganeshhs.com/zend-framework/zend-search-lucene-part2-real-time-indexing#comment-553</link>
		<dc:creator>Ganesh H S , Bangalore, India</dc:creator>
		<pubDate>Sat, 31 May 2008 07:41:00 +0000</pubDate>
		<guid>http://ganeshhs.com/zend-framework/zend-search-lucene-part2-real-time-indexing#comment-553</guid>
		<description>Hey rauan-
The link http://framework.zend.com/issues/browse/ZF-3356 you posted is broken, can you elaborate on the real problem? I didn't understand your message.</description>
		<content:encoded><![CDATA[<p>Hey rauan-<br />
The link <a href="http://framework.zend.com/issues/browse/ZF-3356" rel="nofollow">http://framework.zend.com/issues/browse/ZF-3356</a> you posted is broken, can you elaborate on the real problem? I didn&#8217;t understand your message.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rauan</title>
		<link>http://ganeshhs.com/zend-framework/zend-search-lucene-part2-real-time-indexing#comment-543</link>
		<dc:creator>Rauan</dc:creator>
		<pubDate>Fri, 30 May 2008 18:58:07 +0000</pubDate>
		<guid>http://ganeshhs.com/zend-framework/zend-search-lucene-part2-real-time-indexing#comment-543</guid>
		<description>Hi, Ganesh. I'm indexing my data almost the same way. But now i have exceptions(there are don't throw if i creating new index, and vice-verse for non-empty index). Posted it here http://framework.zend.com/issues/browse/ZF-3356.

Have U ever stumbled upon such troubles?</description>
		<content:encoded><![CDATA[<p>Hi, Ganesh. I&#8217;m indexing my data almost the same way. But now i have exceptions(there are don&#8217;t throw if i creating new index, and vice-verse for non-empty index). Posted it here <a href="http://framework.zend.com/issues/browse/ZF-3356." rel="nofollow">http://framework.zend.com/issues/browse/ZF-3356.</a></p>
<p>Have U ever stumbled upon such troubles?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ganesh H S , Bangalore, India</title>
		<link>http://ganeshhs.com/zend-framework/zend-search-lucene-part2-real-time-indexing#comment-249</link>
		<dc:creator>Ganesh H S , Bangalore, India</dc:creator>
		<pubDate>Sat, 19 Apr 2008 07:23:58 +0000</pubDate>
		<guid>http://ganeshhs.com/zend-framework/zend-search-lucene-part2-real-time-indexing#comment-249</guid>
		<description>Stelio -
As written in this tutorial, you have to open the document which you want to update and index the data which you want modify. Zend Search Lucene will take care of it.</description>
		<content:encoded><![CDATA[<p>Stelio -<br />
As written in this tutorial, you have to open the document which you want to update and index the data which you want modify. Zend Search Lucene will take care of it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stelio</title>
		<link>http://ganeshhs.com/zend-framework/zend-search-lucene-part2-real-time-indexing#comment-231</link>
		<dc:creator>Stelio</dc:creator>
		<pubDate>Wed, 16 Apr 2008 08:53:29 +0000</pubDate>
		<guid>http://ganeshhs.com/zend-framework/zend-search-lucene-part2-real-time-indexing#comment-231</guid>
		<description>Nice tutorial... ;-) How to update document in Index -&#62;example</description>
		<content:encoded><![CDATA[<p>Nice tutorial&#8230; <img src='http://ganeshhs.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> How to update document in Index -&gt;example</p>
]]></content:encoded>
	</item>
</channel>
</rss>
