Displaying 20 results from an estimated 10000 matches similar to: "Did you mean ...? with act_as_ferret"
2006 Jun 15
10
Finding out all terms from search results. How?
Hi everybody,
I need to find out all terms (field values) from one of the fields from
a set of documents returned by search.
In other words, I have indexed documents with two fields. I do search on
one field and then want to know all other field''s values from fount
documents.
How?
--
Sergei Serdyuk
Red Leaf Software LLC
web: http://redleafsoft.com
--
Posted via
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
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,
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 Mar 04
5
Getting non-stemmed terms from IndexReader
I need to get a set of terms being indexed using Ferret. I used
IndexReader.terms and it returns a list of TermEnum nicely. The only
problem is that my analyzer includes a stemming filter.
So now, the terms I''m getting back are all stemmed. Is there anyway to
get the original unstemmed terms back from the index somehow? Thanks.
--
Posted via http://www.ruby-forum.com/.
2007 Apr 09
5
IndexReader#terms for all fields?
Is it possible to query the index for a TermEnum for all fields in
the index instead of just ?
Thanks,
John
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
2007 Dec 05
2
Term frequency doesn''t decrement after document is deleted.
Hey all,
The frequency count returned by my ferret reader doesn''t decrement
after I remove a documents with those terms. Using the example from
http://ferret.davebalmain.com/api/classes/Ferret/Index/TermEnum.html
the frequency increments after a document is added but stays the same
after a document is deleted.
index.reader.terms(:tags).each do |term, freq|
"#{term} appears
2007 May 14
3
How to make a Tag cloud with Ferret ?
Hello,
I want to make a TAG CLOUD using ferret.
How can i do so ?
I would need to know the amount of keyword for every each words in the
index.
Thank you
--
Posted via http://www.ruby-forum.com/.
2008 Feb 19
1
Referencing to an object within a function
I am encountering an error when I attempt to reference a glm model
within a function. The function uses the segmented.glm command
(package = segmented). Within the segmented.glm command one specifies
an object, in this case a logistic regression model, and specifies a
starting threshold term (psi). I believe this is an environment
problem, but I do not have a solution. Any assistance
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
2007 Apr 28
6
Determine how many documents a term occurs in
Is there a fast way to determine how many documents a term occurs in,
besides iterating through every document with TermDocEnum?
--
Best regards,
Stian Gryt?yr
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 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 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 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
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
2007 Jul 05
1
Ferret Analysis
Is it possible to query an index and retrieve, for example, the 10 most
commonly found words in the index?
--
Posted via http://www.ruby-forum.com/.
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