<?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: Sphinx Search Engine 0.9.7, Ruby Client API 0.3.0</title>
	<atom:link href="http://kpumuk.info/ruby-on-rails/sphinx-search-engine-0-9-7-ruby-client-api-0-3-0/feed/" rel="self" type="application/rss+xml" />
	<link>http://kpumuk.info/ruby-on-rails/sphinx-search-engine-0-9-7-ruby-client-api-0-3-0/</link>
	<description>In my blog I&#039;ll try to describe about interesting technologies, my discovery in IT and some useful things about programming.</description>
	<lastBuildDate>Tue, 06 Apr 2010 13:34:30 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: jerk (tschitschereengreen)</title>
		<link>http://kpumuk.info/ruby-on-rails/sphinx-search-engine-0-9-7-ruby-client-api-0-3-0/comment-page-1/#comment-91549</link>
		<dc:creator>jerk (tschitschereengreen)</dc:creator>
		<pubDate>Sat, 31 Jul 2010 14:50:00 +0000</pubDate>
		<guid isPermaLink="false">http://kpumuk.info/ror-plugins/sphinx-search-engine-0-9-7-ruby-client-api-0-3-0/#comment-91549</guid>
		<description>Hey we just implemented it and are really really happy with it: search query duration has an average of 0,0000s on about 20.000 documents. Thats awesome.

jerk</description>
		<content:encoded><![CDATA[<p>Hey we just implemented it and are really really happy with it: search query duration has an average of 0,0000s on about 20.000 documents. Thats awesome.</p>
<p>jerk</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dmytro Shteflyuk</title>
		<link>http://kpumuk.info/ruby-on-rails/sphinx-search-engine-0-9-7-ruby-client-api-0-3-0/comment-page-1/#comment-40175</link>
		<dc:creator>Dmytro Shteflyuk</dc:creator>
		<pubDate>Sat, 31 Jul 2010 17:54:00 +0000</pubDate>
		<guid isPermaLink="false">http://kpumuk.info/ror-plugins/sphinx-search-engine-0-9-7-ruby-client-api-0-3-0/#comment-40175</guid>
		<description>Good point, thank you!

BTW,
[cc lang=&quot;ruby&quot;]eval(&quot;#{m}(#{args})&quot;)[/cc]
could be rewritten using
[cc lang=&quot;ruby&quot;]self.send(m, args)[/cc]
</description>
		<content:encoded><![CDATA[<p>Good point, thank you!</p>
<p>BTW,</p>
<div class="codecolorer-container ruby twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="ruby codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color:#CC0066; font-weight:bold;">eval</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#996600;">&quot;#{m}(#{args})&quot;</span><span style="color:#006600; font-weight:bold;">&#41;</span></div></td></tr></tbody></table></div>
<p>could be rewritten using</p>
<div class="codecolorer-container ruby twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="ruby codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color:#0000FF; font-weight:bold;">self</span>.<span style="color:#9900CC;">send</span><span style="color:#006600; font-weight:bold;">&#40;</span>m, args<span style="color:#006600; font-weight:bold;">&#41;</span></div></td></tr></tbody></table></div>
]]></content:encoded>
	</item>
	<item>
		<title>By: joost</title>
		<link>http://kpumuk.info/ruby-on-rails/sphinx-search-engine-0-9-7-ruby-client-api-0-3-0/comment-page-1/#comment-40172</link>
		<dc:creator>joost</dc:creator>
		<pubDate>Sat, 31 Jul 2010 17:50:00 +0000</pubDate>
		<guid isPermaLink="false">http://kpumuk.info/ror-plugins/sphinx-search-engine-0-9-7-ruby-client-api-0-3-0/#comment-40172</guid>
		<description>For those wanting backwards compatibility with &lt;tt&gt;set_server&lt;/tt&gt; methods instead of &lt;tt&gt;SetServer&lt;/tt&gt;. Use this code:
[cc lang=&quot;ruby&quot;]
class Sphinx::Client
  def method_missing(m, *args)
    m = m.to_s.camelize
    if self.methods.include?(m)
      eval(&quot;#{m}(#{args})&quot;)
    else
      raise NoMethodError, &quot;undefined method &#039;#{m}&#039;&quot;
    end
  end
end
[/cc]</description>
		<content:encoded><![CDATA[<p>For those wanting backwards compatibility with <tt>set_server</tt> methods instead of <tt>SetServer</tt>. Use this code:</p>
<div class="codecolorer-container ruby twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br /></div></td><td><div class="ruby codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color:#9966CC; font-weight:bold;">class</span> <span style="color:#6666ff; font-weight:bold;">Sphinx::Client</span><br />
&nbsp; <span style="color:#9966CC; font-weight:bold;">def</span> method_missing<span style="color:#006600; font-weight:bold;">&#40;</span>m, <span style="color:#006600; font-weight:bold;">*</span>args<span style="color:#006600; font-weight:bold;">&#41;</span><br />
&nbsp; &nbsp; m = m.<span style="color:#9900CC;">to_s</span>.<span style="color:#9900CC;">camelize</span><br />
&nbsp; &nbsp; <span style="color:#9966CC; font-weight:bold;">if</span> <span style="color:#0000FF; font-weight:bold;">self</span>.<span style="color:#9900CC;">methods</span>.<span style="color:#9966CC; font-weight:bold;">include</span>?<span style="color:#006600; font-weight:bold;">&#40;</span>m<span style="color:#006600; font-weight:bold;">&#41;</span><br />
&nbsp; &nbsp; &nbsp; <span style="color:#CC0066; font-weight:bold;">eval</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#996600;">&quot;#{m}(#{args})&quot;</span><span style="color:#006600; font-weight:bold;">&#41;</span><br />
&nbsp; &nbsp; <span style="color:#9966CC; font-weight:bold;">else</span><br />
&nbsp; &nbsp; &nbsp; <span style="color:#CC0066; font-weight:bold;">raise</span> <span style="color:#CC00FF; font-weight:bold;">NoMethodError</span>, <span style="color:#996600;">&quot;undefined method '#{m}'&quot;</span><br />
&nbsp; &nbsp; <span style="color:#9966CC; font-weight:bold;">end</span><br />
&nbsp; <span style="color:#9966CC; font-weight:bold;">end</span><br />
<span style="color:#9966CC; font-weight:bold;">end</span></div></td></tr></tbody></table></div>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dmytro Shteflyuk</title>
		<link>http://kpumuk.info/ruby-on-rails/sphinx-search-engine-0-9-7-ruby-client-api-0-3-0/comment-page-1/#comment-35412</link>
		<dc:creator>Dmytro Shteflyuk</dc:creator>
		<pubDate>Sat, 31 Jul 2010 11:15:00 +0000</pubDate>
		<guid isPermaLink="false">http://kpumuk.info/ror-plugins/sphinx-search-engine-0-9-7-ruby-client-api-0-3-0/#comment-35412</guid>
		<description>You are right about ruby code conventions. But it is more simple for us to have identical syntax for all languages. I would add more ruby-like syntax in 0.3.1 (hope on this weekend).</description>
		<content:encoded><![CDATA[<p>You are right about ruby code conventions. But it is more simple for us to have identical syntax for all languages. I would add more ruby-like syntax in 0.3.1 (hope on this weekend).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: joost</title>
		<link>http://kpumuk.info/ruby-on-rails/sphinx-search-engine-0-9-7-ruby-client-api-0-3-0/comment-page-1/#comment-35384</link>
		<dc:creator>joost</dc:creator>
		<pubDate>Sat, 31 Jul 2010 09:17:00 +0000</pubDate>
		<guid isPermaLink="false">http://kpumuk.info/ror-plugins/sphinx-search-engine-0-9-7-ruby-client-api-0-3-0/#comment-35384</guid>
		<description>Great! Shouldn&#039;t this version be also on RubyForge? I saw only v0.2.0 there..

BTW. My opinion is that Ruby methods should always be of the form: object.method_call. And not object.MethodCall.. 
But this is just my humble opinion.</description>
		<content:encoded><![CDATA[<p>Great! Shouldn&#8217;t this version be also on RubyForge? I saw only v0.2.0 there..</p>
<p>BTW. My opinion is that Ruby methods should always be of the form: object.method_call. And not object.MethodCall..<br />
But this is just my humble opinion.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
