<?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"
	>
<channel>
	<title>Comments on: Sphinx Search Engine 0.9.7, Ruby Client API 0.3.0</title>
	<atom:link href="http://kpumuk.info/ror-plugins/sphinx-search-engine-0-9-7-ruby-client-api-0-3-0/feed/" rel="self" type="application/rss+xml" />
	<link>http://kpumuk.info/ror-plugins/sphinx-search-engine-0-9-7-ruby-client-api-0-3-0/</link>
	<description>In my blog I'll try to describe about interesting technologies, my discovery in IT and some useful things about programming.</description>
	<pubDate>Thu, 16 Oct 2008 00:13:53 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.2</generator>
		<item>
		<title>By: jerk (tschitschereengreen)</title>
		<link>http://kpumuk.info/ror-plugins/sphinx-search-engine-0-9-7-ruby-client-api-0-3-0/#comment-91549</link>
		<dc:creator>jerk (tschitschereengreen)</dc:creator>
		<pubDate>Fri, 30 Nov 2001 00:00: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/ror-plugins/sphinx-search-engine-0-9-7-ruby-client-api-0-3-0/#comment-40175</link>
		<dc:creator>Dmytro Shteflyuk</dc:creator>
		<pubDate>Tue, 30 Nov 2004 00:00: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="ruby"]eval("#{m}(#{args})")[/cc]
could be rewritten using
[cc lang="ruby"]self.send(m, args)[/cc]
</description>
		<content:encoded><![CDATA[<p>Good point, thank you!</p>
<p>BTW,</p>
<div class="codecolorer-container ruby" style="height:35px;"><div class="codecolorer" style="font-family: monospace;"><span class="kw3">eval</span><span class="br0">&#40;</span><span class="st0">&quot;#{m}(#{args})&quot;</span><span class="br0">&#41;</span></div></div>
<p>could be rewritten using</p>
<div class="codecolorer-container ruby" style="height:35px;"><div class="codecolorer" style="font-family: monospace;"><span class="kw2">self</span>.<span class="me1">send</span><span class="br0">&#40;</span>m, args<span class="br0">&#41;</span></div></div>
]]></content:encoded>
	</item>
	<item>
		<title>By: joost</title>
		<link>http://kpumuk.info/ror-plugins/sphinx-search-engine-0-9-7-ruby-client-api-0-3-0/#comment-40172</link>
		<dc:creator>joost</dc:creator>
		<pubDate>Tue, 30 Nov 2004 00:00: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="ruby"]
class Sphinx::Client
  def method_missing(m, *args)
    m = m.to_s.camelize
    if self.methods.include?(m)
      eval("#{m}(#{args})")
    else
      raise NoMethodError, "undefined method '#{m}'"
    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"><div class="codecolorer" style="font-family: monospace;"><span class="kw1">class</span> <span class="re2">Sphinx::Client</span><br />
&nbsp; <span class="kw1">def</span> method_missing<span class="br0">&#40;</span>m, *args<span class="br0">&#41;</span><br />
&nbsp; &nbsp; m = m.<span class="me1">to_s</span>.<span class="me1">camelize</span><br />
&nbsp; &nbsp; <span class="kw1">if</span> <span class="kw2">self</span>.<span class="me1">methods</span>.<span class="kw1">include</span>?<span class="br0">&#40;</span>m<span class="br0">&#41;</span><br />
&nbsp; &nbsp; &nbsp; <span class="kw3">eval</span><span class="br0">&#40;</span><span class="st0">&quot;#{m}(#{args})&quot;</span><span class="br0">&#41;</span><br />
&nbsp; &nbsp; <span class="kw1">else</span><br />
&nbsp; &nbsp; &nbsp; <span class="kw3">raise</span> <span class="kw4">NoMethodError</span>, <span class="st0">&quot;undefined method '#{m}'&quot;</span><br />
&nbsp; &nbsp; <span class="kw1">end</span><br />
&nbsp; <span class="kw1">end</span><br />
<span class="kw1">end</span></div></div>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dmytro Shteflyuk</title>
		<link>http://kpumuk.info/ror-plugins/sphinx-search-engine-0-9-7-ruby-client-api-0-3-0/#comment-35412</link>
		<dc:creator>Dmytro Shteflyuk</dc:creator>
		<pubDate>Tue, 30 Nov 2010 00:00: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/ror-plugins/sphinx-search-engine-0-9-7-ruby-client-api-0-3-0/#comment-35384</link>
		<dc:creator>joost</dc:creator>
		<pubDate>Sun, 30 Nov 2008 00:00: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'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>
