Hi dave, and everyone ;)

I've finished my extension to export Index.search(..) loaded results 
into json.
Here's a little benchmark of what i've done :

>> Benchmark.realtime { INDEX.search(query, :limit => 1000).hits.each { |x| 
>> INDEX[x.doc].load.to_json } }
=> 7.38711595535278
>> Benchmark.realtime { INDEX.search('type:hardware', :limit => 1000).to_json }
=> 0.471335172653198

I patched that directly in
/usr/lib/ruby/gems/1.8/gems/ferret-0.10.10/ext/r_search.c
so i wanted to submit my modifications today, so i did :
svn checkout svn://davebalmain.com/ferret/tags/REL-0.10.11
and tried to make my modifications into REL-0.10.11/ext/r_search.c where 
i discovered a T O T A L L Y different file...
I tried to find the good one, but nothing.. ?

And when my mate installed 0.10.11, he had the good file in 
/usr/lib.../ext/ :-?

Could you tell me what to checkout or dunno, the way to patch this ? :/

Thanks by advance,
Jeremie 'ahFeel' BORDIER

-- 
Posted via http://www.ruby-forum.com/.
_______________________________________________
Ferret-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ferret-talk

Reply via email to