Displaying 20 results from an estimated 26 matches for "act_as_ferrets".
Did you mean:
act_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
2010 Dec 08
1
Help on install act_as_ferret on windows XP
Hi There!
Im trying to install act_as ferret on win xp, with this
environment:
winXP
ruby : 1.8.7
rails: 2.3.8
gem list:
abstract (1.0.0)
actionmailer (3.0.1, 2.3.8, 1.3.3)
actionpack (3.0.1, 2.3.8, 2.3.2, 1.13.6, 1.13.3)
actionwebservice (1.2.6, 1.2.3)
activemodel (3.0.1)
activerecord (3.0.1, 2.3.8, 2.3.2, 1.15.6, 1.15.3)
activeresource (3.0.1, 2.3.8)
activesupport (3.0.1, 2.3.8, 2.3.2, 1.4.4,
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 based on Subversion Rev.
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 user given.
Can someone help me
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
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
2006 Oct 27
1
Regexpr. analyzer
Hi!
I want to index html files, but w/o the tags, so I was thinking either I
remove them before I index 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
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 code below
def find
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" returns the correct
2007 Mar 27
4
Error in installling gem install acts_as_ferret
Hello everybody!
I try to install ferret gem in my local machine .
It goes like this :
[root at dhcppc2 ~]# gem install ferret
Need to update 1 gems from http://gems.rubyforge.org
.
complete
Select which gem to install for your platform (i686-linux)
1. ferret 0.11.3 (ruby)
2. ferret 0.11.2 (ruby)
3. ferret 0.11.1 (ruby)
>>1
Building native extensions. This could take a while...
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
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 balanced between multiple
servers running the same app for
2006 Sep 26
3
concurrency / #search_each problem / segfault
Hello everyone,
I was stress-testing my application (running on Rails via FastCGI) by
letting two concurrent users (not human .. an app called ''siege'')
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 <<
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: