search for: ferret_test

Displaying 8 results from an estimated 8 matches for "ferret_test".

2008 Feb 26
3
Failed to load ferret_ext.bundle on mac os x
........................... ................................................. complete Building native extensions. This could take a while... Successfully installed ferret-0.11.6 1 gem installed Installing ri documentation for ferret-0.11.6... Installing RDoc documentation for ferret-0.11.6... $ ruby ferret_test.rb /usr/local/lib/ruby/gems/1.8/gems/ferret-0.11.6/lib/ferret_ext.bundle: Failed to load /usr/local/lib/ruby/gems/1.8/gems/ferret-0.11.6/lib/ferret_ext.bundle (LoadError) from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'' from /usr/local/li...
2006 Dec 30
2
error of "no such file to load -- ferret_ext"
I''ve installed the latest version of Ferret (0.10.13) on Mac OS X 10.4.8 (Tiger) and I''m developing using Locomotive2. I installed with: $ gem install ferret I have a ferret_test.rb file: ----begin--------- require ''rubygems'' require ''ferret'' include Ferret index = Index::Index.new(:path => ''/opt/search-index'') ----end----------- I get an error when I run the test: $ ruby test/ferret_test.rb /Applications/Locomotive2...
2007 Mar 22
0
Url searching ?
...'rubygems'' require ''ferret'' require ''ftools'' class TestAnalyzer def token_stream(field, str) ts = Ferret::Analysis::AsciiStandardTokenizer.new(str) ts = Ferret::Analysis::AsciiLowerCaseFilter.new(ts) end end system ''rm -rf /tmp/ferret_test'' if File.exists?(''/tmp/ferret_test'') File.mkpath(''/tmp/ferret_test'') INDEX = Ferret::I.new(:path => ''/tmp/ferret_test'', :analyzer => TestAnalyzer.new) INDEX << {:type => :url, :url => ''http://google.fr'...
2006 Jul 07
4
Help installing Ferret
...r.rb:25:in `get_results'' I''m beat,, I did everything I mostly understand what is happeneing on the code.. But still nothing Though at require ''ferret'' module FerretConfig include Ferret INDEX = Index::Index.new(:path => ''f:/home/jan/workspace/ferret_test/index'') end I just changed ''f:/home/jan/workspace/ferret_test/index'') to ''index'' since it is root in my folder and i''m on OSX tiger -- Posted via http://www.ruby-forum.com/.
2007 Apr 03
3
[Repost] Problem with url searching..
...'rubygems'' require ''ferret'' require ''ftools'' class TestAnalyzer def token_stream(field, str) ts = Ferret::Analysis::AsciiStandardTokenizer.new(str) ts = Ferret::Analysis::AsciiLowerCaseFilter.new(ts) end end system ''rm -rf /tmp/ferret_test'' if File.exists?(''/tmp/ferret_test'') File.mkpath(''/tmp/ferret_test'') INDEX = Ferret::I.new(:path => ''/tmp/ferret_test'', :analyzer => TestAnalyzer.new) INDEX << {:type => :url, :url => ''http://google.fr'...
2006 May 17
8
How to implement full-text search with OR just like google?
The current full-text search will return the AND collection results,for example,if we use Article.search("aa bb"),then the articles that include "aa" and "bb" in the fields will be returned,how to return the articles that include "aa" OR "bb" effectly? A stumb method is to setup two queries respectly and collect them together with remove the
2007 Jul 28
0
Problem with acts_as_ferret demo
Hi Jens, I copied the demo folder into my rails apps and also created the ferret_production and ferret_test databases. when I start the server and type this in the browser: localhost:3000/content I get the following error: NameError in ContentController#new uninitialized constant Ferret::Search::BooleanClause RAILS_ROOT: ./script/../config/.. Application Trace | Framework Trace | Full Trace F:/Inst...
2008 Apr 04
1
Bug Report: Segmentation Fault when indexing with a specific set of FieldInfos.
.../usr/lib/libruby1.8.so.1.8(ruby_run+0x2f)[0xb7e9e8df] ruby[0x80486bd] /lib/libc.so.6(__libc_start_main+0xe0)[0xb7ccc450] ruby[0x8048601] -- Bira http://compexplicita.wordpress.com http://compexplicita.tumblr.com -------------- next part -------------- A non-text attachment was scrubbed... Name: ferret_test.tar.bz2 Type: application/x-bzip2 Size: 7696 bytes Desc: not available Url : http://rubyforge.org/pipermail/ferret-talk/attachments/20080404/b49d6af0/attachment-0001.bz2