<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Vinsol - Leading Ruby on Rails Development and Consulting Firm in India &#187; solr</title>
	<atom:link href="http://vinsol.com/blog/category/solr/feed/" rel="self" type="application/rss+xml" />
	<link>http://vinsol.com/blog</link>
	<description></description>
	<lastBuildDate>Wed, 11 Jan 2012 06:07:52 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Presented faceted search using ultrasphinx</title>
		<link>http://vinsol.com/blog/2008/11/25/presented-faceted-search-using-ultrasphinx/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=presented-faceted-search-using-ultrasphinx</link>
		<comments>http://vinsol.com/blog/2008/11/25/presented-faceted-search-using-ultrasphinx/#comments</comments>
		<pubDate>Tue, 25 Nov 2008 01:15:21 +0000</pubDate>
		<dc:creator>Akhil Bansal</dc:creator>
				<category><![CDATA[plugins]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[rails plugins]]></category>
		<category><![CDATA[solr]]></category>

		<guid isPermaLink="false">http://webonrails.com/?p=131</guid>
		<description><![CDATA[The first ruby funday held on 22nd Nov 2008 in New Delhi, India. I presented on faceted search using ultrasphinx. I also gave a live demo there. Here are the slides:
Facet Searching using Ultrasphinx
View SlideShare presentation or Upload your own. (tags: sphinx ultrasphinx)

You can ask me if you have any doubt.







No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>The first ruby funday held on 22nd Nov 2008 in New Delhi, India. I presented on faceted search using ultrasphinx. I also gave a live demo there. Here are the slides:</p>
<div  id="__ss_783712"><a  href="http://www.slideshare.net/bansalakhil/facet-searching-using-ultrasphinx-presentation?type=powerpoint" title="Facet Searching using Ultrasphinx">Facet Searching using Ultrasphinx</a><object  width="425" height="355"><param name="movie" value="http://static.slideshare.net/swf/ssplayer2.swf?doc=facet-1227545742495755-9&#038;stripped_title=facet-searching-using-ultrasphinx-presentation" /><param name="allowFullScreen" value="true"/><param name="allowScriptAccess" value="always"/><embed src="http://static.slideshare.net/swf/ssplayer2.swf?doc=facet-1227545742495755-9&#038;stripped_title=facet-searching-using-ultrasphinx-presentation" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="355"></embed></object>
<div >View SlideShare <a  href="http://www.slideshare.net/bansalakhil/facet-searching-using-ultrasphinx-presentation?type=powerpoint" title="View Facet Searching using Ultrasphinx on SlideShare">presentation</a> or <a  href="http://www.slideshare.net/upload?type=powerpoint">Upload</a> your own. (tags: <a  href="http://slideshare.net/tag/sphinx">sphinx</a> <a  href="http://slideshare.net/tag/ultrasphinx">ultrasphinx</a>)</div>
</div>
<p>You can ask me if you have any doubt.</p>
<map name='google_ad_map_131_d007f24531aa3a6e'>
<area shape='rect' href='http://imageads.googleadservices.com/pagead/imgclick/131?pos=0' coords='1,2,367,28' />
<area shape='rect' href='http://services.google.com/feedback/abg' coords='384,10,453,23'/></map>
<p><img usemap='#google_ad_map_131_d007f24531aa3a6e' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=131&amp;url= http%3A%2F%2Fwebonrails.com%2F2008%2F11%2F25%2Fpresented-faceted-search-using-ultrasphinx%2F' /></p>
]]></content:encoded>
			<wfw:commentRss>http://vinsol.com/blog/2008/11/25/presented-faceted-search-using-ultrasphinx/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Acts_as_solr: Starting solr server on windows</title>
		<link>http://vinsol.com/blog/2007/09/13/acts_as_solr-starting-solr-server-on-windows/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=acts_as_solr-starting-solr-server-on-windows</link>
		<comments>http://vinsol.com/blog/2007/09/13/acts_as_solr-starting-solr-server-on-windows/#comments</comments>
		<pubDate>Thu, 13 Sep 2007 08:54:40 +0000</pubDate>
		<dc:creator>Akhil Bansal</dc:creator>
				<category><![CDATA[RubyonRails]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[acts_as_solr]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[rails plugins]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[solr]]></category>

		<guid isPermaLink="false">http://webonrails.com/2007/09/13/acts_as_solr-starting-solr-server-on-windows/</guid>
		<description><![CDATA[I was using acts_as_searchable for one of my project, which uses Hyperestraier in background. Yesterday I decided to use acts_as_solr which uses solr(based on Lucene Java search library). I did all written in its Manual/Readme, but when I issued 
 
rake solr:start

to start the solr server, it threw a heart breaking &#8220;Bad file descriptor&#8221; error, [...]


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>I was using acts_as_searchable for one of my project, which uses Hyperestraier in background. Yesterday I decided to use acts_as_solr which uses solr(based on Lucene Java search library). I did all written in its Manual/Readme, but when I issued </p>
<textarea name="code" class="ruby" cols="50" rows="10"> 
rake solr:start
</textarea>
<p>to start the solr server, it threw a heart breaking &#8220;Bad file descriptor&#8221; error, although acts_as_solr was working fine on one of my colleague&#8217;s linux machine. </p>
<p>I started digging around this and found that there is an issue in rake task that starts the solr server. Actually the problem was this rake task uses &#8216;fork&#8217; which is not available on windows, also it only handles &#8216;ECONNREFUSED&#8217; exception which is actually &#8220;Connection Refused&#8221; error raised by ruby on linux. But in windown it throws &#8216;EBADF&#8217; which is &#8220;Bad file descriptor&#8221; error raised by ruby on windows. </p>
<p>So below is the hack for that:</p>
<textarea name="code" class="ruby" cols="50" rows="10">
  desc 'Starts Solr. on windows . Options accepted: RAILS_ENV=your_env, PORT=XX. Defaults to development if none.'
  task :start_win do
    begin
      n = Net::HTTP.new('localhost', SOLR_PORT)
      n.request_head('/').value 

    rescue Net::HTTPServerException #responding
      puts "Port #{SOLR_PORT} in use" and return

    rescue Errno::EBADF #not responding
      Dir.chdir(SOLR_PATH) do
          exec "java -Dsolr.data.dir=solr/data/#{ENV['RAILS_ENV']} -Djetty.port=#{SOLR_PORT} -jar start.jar"
        sleep(5)
        puts "#{ENV['RAILS_ENV']} Solr started sucessfuly on #{SOLR_PORT}, pid: #{pid}."
      end
    end
  end
</textarea>
<p>Just add this to vendor/plugins/acts_as_solr/lib/taks/solr.rake, and start solr server on windows by issuing </p>
<textarea name="code" class="ruby" cols="50" rows="10">
rake solr:start_win
</textarea>
]]></content:encoded>
			<wfw:commentRss>http://vinsol.com/blog/2007/09/13/acts_as_solr-starting-solr-server-on-windows/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

