search for: howtointegrateferretwithrail

Displaying 13 results from an estimated 13 matches for "howtointegrateferretwithrail".

2006 Apr 05
3
Missing Ferret 0.9.0 Field methods
The following instance methods seem to be missing from the Ferret::Document::Field class in Ferret 0.9.0 using compiled C extensions: #string_value, #reader_value and #binary_value. They are in the pure ruby implementation). I got round it by mixing in hacked versions of the pure Ruby methods (@data replaced by self.data). Many thanks for Ferret it''s shaping up to being a killer app
2006 Feb 01
6
Little Ferret Problem
I''ve implemented Ferret, using the instructions here: http://wiki.rubyonrails.com/rails/pages/HowToIntegrateFerretWithRails I get no errors in the application at all... however, I always get 0 results. I built an index off of some data, it exists in the index/ directory, the form submits find... etc... Just 0 results... all the time :) I confirmed the data from my models is being put into the index... however, am ha...
2006 Feb 06
4
Searching large tables with Rails?
I have a large table (> 20,000 records) with text columns for which I need to build a search function. Is there a "Rails" way to index all the entries and NOT search using LIKE? "LIKE" searches can get very slow and I would rather build an index of the columns to speed up things. Just want to know if there is something like "acts_as_indexable"
2006 Jul 07
4
Help installing Ferret
http://wiki.rubyonrails.com/rails/pages/HowToIntegrateFerretWithRails I followed everything here but at the last I get when loading page get_results Can only handle a String or a Query. RAILS_ROOT: script/../config/.. Application Trace | Framework Trace | Full Trace #{RAILS_ROOT}/app/models/result.rb:27:in `search_each'' #{RAILS_ROOT}/app/models/result.r...
2006 Apr 28
1
Full-text Search Options Redux
...or an index of this size to use HE? - is unable to do a hot-copy backup. the index also seems to be easily corrupted. and, once that happens, re-indexing 100k+ documents is not a pleasant experience! =) B. Ferret - this also seemed like a clear winner. http://wiki.rubyonrails.com/rails/pages/HowToIntegrateFerretWithRails - was taking 2 seconds on average to index a new text (but kept getting slower as the index grew) - other than that (performance), seems like an incredible piece of software + tight integration w/ Rails through acts_as_ferret Next we''re planning on giving ActiveSearch a run for its mon...
2006 Aug 08
1
acts_as_ferret to search partial phrases and fuzzy
...if @results.empty? @results = Content.partial_word_search @query if @results.empty? @results = Content.fuzzy_word_search @query end end end end I realise I could probably achieve something like this by changing http://wiki.rubyonrails.com/rails/pages/HowToIntegrateFerretWithRails to meet my needs, but I quite like the indexing elegance provided with AAF, and don''t want to have to reinvent the wheel. If anyone has experience or pointers that would be great! Apologies for posting on the ferret list for a rails-ish problem, but searching the archives seemed to s...
2005 Dec 31
2
Some newbie questions
...have a few doubts: 1. What is the ''recommended'' way of integrating Ferret into my app now? The gem version or the plugin? 2. Where do I checkout the plugin from? Do I just copy the version on the wiki? Those apart, Ferret is really lacking a simple guide. The wiki page "HowToIntegrateFerretWithRails" is sometimes not very clear. I would love to clean it up or create a separate page for ferret on the wiki, if you guys help me out figuring Ferret. It will be very useful to me and others. The plugin version looks much simpler. Where do I start? Thanks much, Vamsee.
2006 Mar 29
5
EdgeRails: "undefined method `weight'' for #<Hash:
Hi all, I was playing with the sample project found on the Wiki at http://wiki.rubyonrails.com/rails/pages/HowToIntegrateFerretWithRails , and everything was working fine, ... till I moved to EdgeRails : undefined method `weight'' for #<Hash:0x22c7150> (full error thread below) Any idea? Alain /Users/aravet/Desktop/Locomotive/Bundles/RubyonRails-1.0-Min.locobundle/Contents/Resources/unix/lib/ruby/site_ruby/1....
2005 Nov 26
3
Several questions about Ferret.
Hi. First of all I would like to say "thank you" to David for its really valuable work. Ferret is a great project and it have great future. Well now is my questions as beginner in Ferret. How to remove ALL documents from index. Remove files is not a solution. I am interesting in something like index.remove_index or something like this. What is a usual way of doing it?? What is the
2005 Nov 19
14
FULLTEXT search in MySQL on rails
I tried adding a FULLTEXT search index to a table of mine in MySQL, only to discover that the InnoDB table format doesn''t seem to support this feature. Switching to the MyISAM table type seemed to work, but I seem to have some recollection that ActiveRecord transactions aren''t fully atomic on MyISAM tables. Is this true or am I just remembering wrong? If so, does anyone have
2006 Mar 24
10
innodb vs myisam
Hi, I have been using myisam tables in mysql with rails because my client will soon want fulltext searchable content, however when I migrated my development db from schema.rb all of the tables generated were innodb. I understand that I can override this, but also like the transactions and foreign keys of innodb. So 2 questions really: 1. are transactions in activerecord dependent on innodb or do
2005 Dec 02
43
ANN: acts_as_ferret
...see: http://ferret.davebalmain.com/trac/ The plugin is functional but could easily be refined. Anyway I want to share it with you. Regard it as a basic solution. Most of the ideas and code is taken from these sources Howtos and help on Ferret with Rails: # http://wiki.rubyonrails.com/rails/pages/HowToIntegrateFerretWithRails # http://article.gmane.org/gmane.comp.lang.ruby.rails/26859 # http://ferret.davebalmain.com/trac # http://aslakhellesoy.com/articles/2005/11/18/using-ferret-with-activerecord # http://rubyforge.org/pipermail/ferret-talk/2005-November/000014.html Howtos on creating plugins: # http://wiki.rubyonrai...
2005 Dec 02
43
ANN: acts_as_ferret
...see: http://ferret.davebalmain.com/trac/ The plugin is functional but could easily be refined. Anyway I want to share it with you. Regard it as a basic solution. Most of the ideas and code is taken from these sources Howtos and help on Ferret with Rails: # http://wiki.rubyonrails.com/rails/pages/HowToIntegrateFerretWithRails # http://article.gmane.org/gmane.comp.lang.ruby.rails/26859 # http://ferret.davebalmain.com/trac # http://aslakhellesoy.com/articles/2005/11/18/using-ferret-with-activerecord # http://rubyforge.org/pipermail/ferret-talk/2005-November/000014.html Howtos on creating plugins: # http://wiki.rubyonrai...