search for: act_as_ferret

Displaying 20 results from an estimated 26 matches for "act_as_ferret".

Did you mean: acts_as_ferret
2008 Jan 06
3
Did you mean ...? with act_as_ferret
Hello, does anybody know how to implement a "Did you mean ...?" like Google with act_as_ferret? I think this is a possible way: 1. Generate a keyword-list (this is my difficulty. I don''t know how to build such a list from the index) with no stop-words from the first index. e. g. (car, ship, plant, house) 2. Build a second index from this word-list where we store the word in the i...
2010 Dec 08
1
Help on install act_as_ferret on windows XP
...(0.0.28, 0.0.27) sqlite3-ruby (1.3.2 x86-mingw32, 1.3.1 x86-mingw32) term-ansicolor (1.0.5) thor (0.14.3) treetop (1.4.8) trollop (1.16.2) tzinfo (0.3.23) will_paginate (2.3.15) I already follow the topic http://www.ruby-forum.com/topic/153349#729201, but it is not working, when I try to install act_as_ferret gem, I get this error msg: $ gem install acts_as_ferret Building native extensions. This could take a while... ERROR: Error installing acts_as_ferret: ERROR: Failed to build gem native extension. c:/Ruby187/bin/ruby.exe extconf.rb creating Makefile make make: *** No rule to make targe...
2007 Mar 05
1
Using act_as_ferret with find_by_sql
Hello, I wonder if its possible to combine ferret queries with find_by_sql queries? Or should I try to rewrite my query using find and then use find_by_content when I''m done? Thanks for a great product! Regards, henrik
2006 Mar 17
1
Fuzzy searching using act_as_ferret
Hello, My Ferret integration has gone quite well. I''m now returning all the results I need from two models using "id_multi_search" and combining the results in the view using a couple of partials. Is there any way that I can turn on fuzzy searching? Would fuzzy searching pick up basic spelling mistakes such as "Bnadit" instead of "Bandit" my experience
2007 Dec 13
0
help on act_as_ferret
Hi, My name is santoshkumar r Patil. I am using ferret for searching. I am using mult_search for searching a query on multiple modal and there are different conditions on different model. EX User.multi_search(search_query+" AND NOT is_deleted:1 ",[Program],{:limit=>limit,:offset=>offset}) And I have to condition "is_visible = true" on program model. How can I modify
2006 Jun 26
3
Installing ferret on windows
Hello, Im running rails 1.1.2 and ferret 0.9.3 and cant install act_as_ferret. I tryed the following instruction at act_as_ferret wiki: "Installation Please use script/plugin install svn://projects.jkraemer.net/acts_as_ferret/tags/plugin/stable/acts_as_ferret for easy installation of the current stable version of the plugin. At the moment this is version 0.2.1 bas...
2007 Jul 24
4
Act as Ferret supports Conditional search?
Hi all, Im a newbie to ferret.I have installed the act_as_ferret gem and i actually want to search for some content in the model,but per user. My model has data,user_id.So within the data column i have to serach for a word if it exists for a given user. So can i achieve that ? presently i know that it just searches the "data" column irrespective of the...
2008 Jun 06
3
LoadError (Expected model.rb to define Model)
Hello, I''m having an error that occurs in production (on Dreamhost) but does not occur in development on my local machine. The situation is that there is a model (Article), and it uses act_as_ferret for search. The error is as follows (where I say {full server path}, that''s not what the error says, just my note): LoadError (Expected {full server path}/article.rb to define Article): /vendor/rails/activesupport/lib/active_support/dependencies.rb: 249:in `load_missing_constant'&...
2006 Sep 12
1
Ferret on Windows?
I am trying to use SVN HEAD of Acts_as_ferret, and I have ferret 0.10.4installed from the windows Gem. Unfortuanantly, whenever I i let act_as_ferrets init.rb file require ferret, my app blows up, with weird "Invalid char" errors. I have pasted the page below. If I comment out the require ferret, the page loads. Of course, act_as_ferret does blow up. My unit tests do work fine however! I can query my model using the ferret calls....
2006 Nov 06
1
NameError uninitialized constant Ferret::Index::FieldInfos
Hi Everyone, I''ve a RoR application. I am trying to build full text search capability into it. I installed Ferret. After that I installed the act_as_ferret plugin. I''ve also put the acts_as_ferret inside the <model>.rb file . I''m using the find_by_contents to get the search results. I''m getting the following error. I''ve no clue and I didn''t find any previous posts discussing this issue . I'&...
2006 Oct 27
1
Regexpr. analyzer
...it (expensive), or put up an RegExpAnalyzer. BTW, when using an analyzer, does that mean that everything which it declines (i.e. the RegExpAnalyzer doesn''t match) won''t be put into the index files (i.e. blows it up)? I came up with a simple test, which didn''t work in act_as_ferret, but now in pure ferret doesn''t work as well. I expected, with the code below, that only "abc" will be indexed, as only it matches the regexpr. What''s wrong? @index = Ferret::Index::Index.new(:path => ''c:/projects/peter/lib/ferretidx'', :anal...
2007 Jul 09
3
Strange document loss
Hi all :-) I''m experiencing strange document loss with Ferret 0.11.4 / Ruby 1.8.4. The index handles around 3000 documents, and sometimes during a query_update operation, the delete is done but not the add. That''s very random and happens after a lot of queries (many K). I''ve tried to look into Ferret''s C code, everything looks like going well, the add *LOOKS
2006 Mar 15
4
ActiveRecord::RecordNotFound in search results act_as Ferret
Hello, I''ve installed the Ferret gem and also got the act_as_ferret code from the wiki. I''ve set up my model "Branch" to act as ferret using the code below. acts_as_ferret :options => {:fields => [''name'', ''body_text'', ''address'']} I''ve also set up a ferret_controller with the...
2007 Mar 31
8
Problem with encoding (Umlaut: ü, ä...)
Hi there from Germany, I just installed and set up ferret and act_as_ferret for rails. All of them at the most recent version. The development environment is running fine with Mac OS X. But I got problems with the productive environment (debian). In the (mysql-)database are few records stored, containig german umlauts (? for example). Running a query for "k?ln"...
2007 Mar 27
4
Error in installling gem install acts_as_ferret
...t-0.4.0... lib/index.rb:23:41: '':'' not followed by identified or operator Installing RDoc documentation for acts_as_ferret-0.4.0... lib/index.rb:23:41: '':'' not followed by identified or operator [root at dhcppc2 ~]# Here I want to know whether both ferret and act_as_ferret installed corretly or not. Please let me explain whether I have to make any changes in my environment.rb file to enable this ferret. Thanks with Regards, Veeraa -- Posted via http://www.ruby-forum.com/.
2007 Mar 03
6
Problem with ferret :(
hi, i''m trying ferret and acts_as_ferret, it''s good, but i''ve a little problem. i''ve a model book which has a title and a quantity, how can i search using act_as_ferret all books which quantity is > 0 ? and howand with a search like "book", how can i found also title like "books" ? and the last, if i search "bok", is it possible to find anyway titles with "book"? (i saw that in ferret is it possible, but with acts_as_ferr...
2006 Sep 12
5
ferret / acts_as_ferret multiple server deployment
Has anyone deployed ferret & act_as_ferret to a load balanced multiple server environment? If so, did you simply use a shared network index? I have a couple of ideas on how to deploy - but each have shortcomings and I''m hoping to find out if anyone else has deployed ferret in this manner. The application is simply load balanc...
2006 Sep 26
3
concurrency / #search_each problem / segfault
...9;') a) save an Article and b) search for all Articles. I am searching via Article.ferret_index.search_each( ..) do |doc_id,score| doc = index[doc_id] .. end and writing via Article.ferret_index << self.to_doc where Article.ferret_index is implemented as in ''act_as_ferret'': @@ferret_index = nil def Article::ferret_index @@ferret_index ||= Ferret::Index::Index.new( :path => ferret_path, :auto_flush => true, :create_if_missing => false ) end The 2 errors I got (when I do "doc = index[doc_id]") were : ArgumentError (:12250 is out...
2006 Aug 10
1
Customizing log output
I''d like to include the user name along with/instead of the session id in my log files. Is there a place to customize the log format, or do I just need to through the logger object and manually write it in a before_filter on my ApplicationController? Thanks. -- Jack Christensen jackc@hylesanderson.edu
2007 Sep 20
0
ferret reindex_batch_size
I am using the act_as_ferret in my app. I want to know that if i have set the reindex_batch_size => 500 or something . can u guide me how it works means the batch_size or can anyone provide me with a link to go through that.. Thanks Ravi -------------- next part -------------- An HTML attachment was scrubbed... URL: htt...