<?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: Cross-model searching in Rails with Ferret</title>
	<atom:link href="http://infovore.org/archives/2006/09/22/cross-model-searching-in-rails-with-ferret/feed/" rel="self" type="application/rss+xml" />
	<link>http://infovore.org/archives/2006/09/22/cross-model-searching-in-rails-with-ferret/</link>
	<description>a weblog by Tom Armitage</description>
	<lastBuildDate>Sun, 08 Apr 2012 09:50:05 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: Tom Armitage</title>
		<link>http://infovore.org/archives/2006/09/22/cross-model-searching-in-rails-with-ferret/comment-page-1/#comment-80963</link>
		<dc:creator>Tom Armitage</dc:creator>
		<pubDate>Tue, 29 Apr 2008 10:35:18 +0000</pubDate>
		<guid isPermaLink="false">http://infovore.org/archives/2006/09/22/cross-model-searching-in-rails-with-ferret/#comment-80963</guid>
		<description>That&#039;s great news, Nasir. Glad to know it&#039;s an improvement.</description>
		<content:encoded><![CDATA[<p>That&#8217;s great news, Nasir. Glad to know it&#8217;s an improvement.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nasir</title>
		<link>http://infovore.org/archives/2006/09/22/cross-model-searching-in-rails-with-ferret/comment-page-1/#comment-80947</link>
		<dc:creator>Nasir</dc:creator>
		<pubDate>Tue, 29 Apr 2008 08:18:57 +0000</pubDate>
		<guid isPermaLink="false">http://infovore.org/archives/2006/09/22/cross-model-searching-in-rails-with-ferret/#comment-80947</guid>
		<description>A follow up to my previous comment:

So I implemented Sphinx with Ultrasphinx on www.SPhred.com a couple of days back and so far I didn&#039;t receive any error notification emails as opposed to receiving over 10 every day due to indexing problems when I was using Ferret.

As of now, Sphinx looks better compared to Ferret :)</description>
		<content:encoded><![CDATA[<p>A follow up to my previous comment:</p>
<p>So I implemented Sphinx with Ultrasphinx on <a href="http://www.SPhred.com" rel="nofollow">http://www.SPhred.com</a> a couple of days back and so far I didn&#8217;t receive any error notification emails as opposed to receiving over 10 every day due to indexing problems when I was using Ferret.</p>
<p>As of now, Sphinx looks better compared to Ferret :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nasir</title>
		<link>http://infovore.org/archives/2006/09/22/cross-model-searching-in-rails-with-ferret/comment-page-1/#comment-80241</link>
		<dc:creator>Nasir</dc:creator>
		<pubDate>Thu, 24 Apr 2008 12:37:57 +0000</pubDate>
		<guid isPermaLink="false">http://infovore.org/archives/2006/09/22/cross-model-searching-in-rails-with-ferret/#comment-80241</guid>
		<description>I think tom is right. It was OK in production when data on SPhred wasn&#039;t that huge but as traffic increased thus data as well then it started giving errors very often, more specifically like this one 

File Not Found Error occured at :117 in xpop_context Error occured in fs_store.c:329 - fs_open_input tried to open &quot;/path_to/index/production/item/_br_1.del&quot; but it doesn&#039;t exist:

Our users think it is some coding issue though it is just ferret messing up.

Now I am looking for options but haven&#039;t decided on anything yet.

Is Sphinx / Ultraphinx reliable enough? Any idea on Solr?</description>
		<content:encoded><![CDATA[<p>I think tom is right. It was OK in production when data on SPhred wasn&#8217;t that huge but as traffic increased thus data as well then it started giving errors very often, more specifically like this one </p>
<p>File Not Found Error occured at :117 in xpop_context Error occured in fs_store.c:329 &#8211; fs_open_input tried to open &#8220;/path_to/index/production/item/_br_1.del&#8221; but it doesn&#8217;t exist:</p>
<p>Our users think it is some coding issue though it is just ferret messing up.</p>
<p>Now I am looking for options but haven&#8217;t decided on anything yet.</p>
<p>Is Sphinx / Ultraphinx reliable enough? Any idea on Solr?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tom</title>
		<link>http://infovore.org/archives/2006/09/22/cross-model-searching-in-rails-with-ferret/comment-page-1/#comment-77870</link>
		<dc:creator>Tom</dc:creator>
		<pubDate>Tue, 08 Apr 2008 15:19:24 +0000</pubDate>
		<guid isPermaLink="false">http://infovore.org/archives/2006/09/22/cross-model-searching-in-rails-with-ferret/#comment-77870</guid>
		<description>Hey Simon, glad you found it useful. I&#039;m not sure that I&#039;d recommend Ferret for production use any momre, based on other people&#039;s experiences to date. If you&#039;re interested in a fast, efficient, and powerful search engine for your Rails application, I can recommend &lt;a href=&quot;http://www.sphinxsearch.com/&quot; rel=&quot;nofollow&quot;&gt;Sphinx&lt;/a&gt; in combination with the excellent &lt;a href=&quot;http://blog.evanweaver.com/files/doc/fauna/ultrasphinx/files/README.html&quot; rel=&quot;nofollow&quot;&gt;Ultrasphinx&lt;/a&gt; plugin. The performance boost is quite remarkable.</description>
		<content:encoded><![CDATA[<p>Hey Simon, glad you found it useful. I&#8217;m not sure that I&#8217;d recommend Ferret for production use any momre, based on other people&#8217;s experiences to date. If you&#8217;re interested in a fast, efficient, and powerful search engine for your Rails application, I can recommend <a href="http://www.sphinxsearch.com/" rel="nofollow">Sphinx</a> in combination with the excellent <a href="http://blog.evanweaver.com/files/doc/fauna/ultrasphinx/files/README.html" rel="nofollow">Ultrasphinx</a> plugin. The performance boost is quite remarkable.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Simon Jones</title>
		<link>http://infovore.org/archives/2006/09/22/cross-model-searching-in-rails-with-ferret/comment-page-1/#comment-77819</link>
		<dc:creator>Simon Jones</dc:creator>
		<pubDate>Tue, 08 Apr 2008 08:06:37 +0000</pubDate>
		<guid isPermaLink="false">http://infovore.org/archives/2006/09/22/cross-model-searching-in-rails-with-ferret/#comment-77819</guid>
		<description>(Website due up soon, that&#039;s what I&#039;m working on)

Thanks for the excellent tips, been really helpful!

Tried out the code suggested by your colleague and there is just one change that&#039;s required. Because find_id_by_contents returns an array with the total results, followed by the actual results, like [5, [] ] you need to change the line:

k.find_id_by_contents(query).each do

to

k.find_id_by_contents(query).last.each do</description>
		<content:encoded><![CDATA[<p>(Website due up soon, that&#8217;s what I&#8217;m working on)</p>
<p>Thanks for the excellent tips, been really helpful!</p>
<p>Tried out the code suggested by your colleague and there is just one change that&#8217;s required. Because find_id_by_contents returns an array with the total results, followed by the actual results, like [5, [] ] you need to change the line:</p>
<p>k.find_id_by_contents(query).each do</p>
<p>to</p>
<p>k.find_id_by_contents(query).last.each do</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Infovore : More on multi-model search with acts_as_ferret</title>
		<link>http://infovore.org/archives/2006/09/22/cross-model-searching-in-rails-with-ferret/comment-page-1/#comment-6781</link>
		<dc:creator>Infovore : More on multi-model search with acts_as_ferret</dc:creator>
		<pubDate>Sun, 24 Sep 2006 21:39:37 +0000</pubDate>
		<guid isPermaLink="false">http://infovore.org/archives/2006/09/22/cross-model-searching-in-rails-with-ferret/#comment-6781</guid>
		<description>[...]  September 2006  						 						 						0 comments							 						  				 				 						So, Matt pointed out that when you do things like tha [...]</description>
		<content:encoded><![CDATA[<p>[...]  September 2006 </p>
<p> 						0 comments							</p>
<p> 						So, Matt pointed out that when you do things like tha [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt Biddulph</title>
		<link>http://infovore.org/archives/2006/09/22/cross-model-searching-in-rails-with-ferret/comment-page-1/#comment-6754</link>
		<dc:creator>Matt Biddulph</dc:creator>
		<pubDate>Sat, 23 Sep 2006 00:13:26 +0000</pubDate>
		<guid isPermaLink="false">http://infovore.org/archives/2006/09/22/cross-model-searching-in-rails-with-ferret/#comment-6754</guid>
		<description>Looks good... I&#039;ve been meaning to try out ferret and will do so soon.

Worth keeping in mind: In the acts_as_ferret find_id_by_contents RDoc that says &quot;Note that the scores retrieved this way arenâ€™t normalized across indexes, so that the order of results after sorting by score will differ from the order you would get when running the same query on a single index&quot; -- http://projects.jkraemer.net/acts_as_ferret/rdoc/classes/FerretMixin/Acts/ARFerret/ClassMethods.html#M000015</description>
		<content:encoded><![CDATA[<p>Looks good&#8230; I&#8217;ve been meaning to try out ferret and will do so soon.</p>
<p>Worth keeping in mind: In the acts_as_ferret find_id_by_contents RDoc that says &#8220;Note that the scores retrieved this way arenâ€™t normalized across indexes, so that the order of results after sorting by score will differ from the order you would get when running the same query on a single index&#8221; &#8212; <a href="http://projects.jkraemer.net/acts_as_ferret/rdoc/classes/FerretMixin/Acts/ARFerret/ClassMethods.html#M000015" rel="nofollow">http://projects.jkraemer.net/acts_as_ferret/rdoc/classes/FerretMixin/Acts/ARFerret/ClassMethods.html#M000015</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>

