Displaying 20 results from an estimated 10000 matches similar to: "Installing Ferret locally on TextDrive"
2006 May 01
12
pagination in acts_as_ferret
I''m just wondering where I would put the pagination for search results
when using "acts_as_ferret".
At the moment my search code is..
def search
@query = params[:query] || ''''
unless @query.blank?
@results = Tutorial.find_by_contents @query
end
end
Cheers
SchmakO
--
Posted via http://www.ruby-forum.com/.
2006 Jun 29
13
find_by_contents not returning SearchResults?
The acts_as_ferret documentation says find_by_content returns an
instance of SearchResults, but I see this error when I try to use the
results.
undefined method `total_hits'' for []:Array
Here is the link to the documentation:
http://projects.jkraemer.net/acts_as_ferret/rdoc/classes/FerretMixin/Acts/ARFerret/ClassMethods.html#M000010
But here is the actual code:
result =
2006 Nov 23
2
Segmentation Faults
Hi,
I am using Ferret 0.9.4 and my index appears to be corrupt as any
attempt to read or write it causes a segmentation fault. I had been
using it with minimal problems for the past few months.
Is there a way to fix this without rebuilding the entire index? Since
I am on a shared host ferret takes too much memory to rebuild these
roughly 8500 records in one go and in the past I have had to
2006 Jul 10
2
acts_as_ferret 0.2.2
Hi all,
I just tagged acts_as_ferret 0.2.2 as the current stable version, so get
it while it''s hot ;-)
new features:
- added support for the multiple models/single index approach.
- find out the total number of search results by calling total_hits on
the array returned by find_by_contents.
fixes:
- trac tickets #20 (find_by_contents breaks ferret sorting) and #24
2007 Jan 21
14
[ActsAsFerret] OpenSolaris (TextDrive) indexing issues
Gents,
I successfully installed AAF on my TextDrive OpenSolaris Container, but
I''m having some issues with indexing.
I have a model called Blogs which has AAF enabled.
The first time I tried to find_by_contents for a ''word'' I know was on
the Database I got now results. Apparently the index was not ready yet.
Then I waited a few hours and checked that the /index
2006 Aug 23
8
acts_as_ferret with Mongrel and Edge Rails
Hi there,
Has anyone tried acts_as_ferret with Edge Rails and Mongrel? When I
install the plugin to a project that has Edge Rails frozen, and the
Mongrel gem installed, I can''t start the server. There''s no error, it
just doesn''t start.
I''ve used acts_as_ferret in the past with WEBrick, and stable Rails
releases without a hitch.
If I remove the
2006 Jul 11
5
Ferret Wiki Spam - Solutions Anyone?
Hi All,
As some of you may have noticed, the Ferret Wiki has been getting
spammed like crazy. And I haven''t been able to do anything about it
because I just don''t have the time. I''m getting pretty close to
releasing 0.10.0 which has been the major draw on my time for the last
couple of months so I''m going to have some time to look into this
soon. I was
2007 Jul 11
3
Install errors
I''ve been trying to install Ferret on RedHat 7.3, Ruby 1.8 (let me know
if more details would be helpful) using the gem install. I''ve tried
every version >10 and it installs, but I get errors:
Building native extensions. This could take a while...
In file included from q_filtered_query.c:1:
search.h:683: array size missing in ''comparables''
make: ***
2007 Sep 10
7
ferret index file(s)
I am running version 3.2 of ferret and would like to upgrade to a more
current version. will my existing 3.2 index files be compatible?
thanks,
AK
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/ferret-talk/attachments/20070910/742890f2/attachment.html
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...
2008 Apr 04
1
Bug Report: Segmentation Fault when indexing with a specific set of FieldInfos.
I''m submitting this through the mailing list because Trac won''t let me
use its bug report form... Is there some more appropriate way of
submitting bugs if Trac doesn''t work?
This is the Trac error message:
500 Internal Server Error (Submission rejected as potential spam (IP
127.0.0.1 blacklisted by bsb.empty.us, sc.surbl.org, Maximum number of
posts per hour for this
2006 Oct 03
8
Ferret install, rake failing on make
I''m currently trying to install the latest version of Ferret (0.10.9)
on my Ubuntu Dapper (6.06) system. I have tried the gem, but it does
not generate the ferret_ext.so file. Ideally I would prefer to install
from the gem, but if source works, I''m fine with that too.
I am now trying an install from source, but when I run the command ''$
rake ext'' I get the
2006 Apr 05
5
duplicate search results
i''m using Ferret 0.9.0 with acts_as_ferret (the one from svn.jkraemer.net), and
i''m getting duplicate results, as described in this thread:
http://rubyforge.org/pipermail/ferret-talk/2005-December/000048.html
is there a way to configure the indexes created by acts_as_ferret to use :key =>
:id, as described in that thread? i''ve poked around in the code, and had
2006 May 30
3
Rebuild Indexes Issue
Hi,
I have some code to rebuild my ferret indexes but occasionally some
stale documents remain in the index even after rebuilding. The only
way I could find around this is to manually delete the index files
from the filesystem. Here is the code I have for rebuilding one of my
indexes for Gifts:
# delete existing entries
INDEX.size.times {|i| INDEX.delete(i)}
gifts =
2006 Aug 04
5
A couple of ferret 0.9.4 exceptions
Hi Dave,
I am using ferret at my site http://gifthat.com and I just had a few
exceptions pop up. I don''t have a way to reproduce them, but my site
just was listed on lifehacker.com and these issues have popped up
under multiple concurrent users (only twice though which I think isn''t
too bad). I am using two lighttpd instances both with read/write
access to the index:
1) Error
2007 Jan 22
7
memcache
Just curious, is there anyway to use memcache with a ferret index?
Thanks,
Ray
--
Posted via http://www.ruby-forum.com/.
2006 Aug 24
2
acts_as_ferret for Ferret 0.10
Hi all,
the current acts_as_ferret trunk is now ported to Ferret 0.10.
Get it while it''s hot at
svn://projects.jkraemer.net/acts_as_ferret/trunk/plugin
Nearly everything works, besides this:
- all queries are ORed (no way to tell the QueryParser to build AND
queries by default)
- more_like_this is broken
I''m working with Dave to fix these things soon. The last Ferret 0.9.x
2007 Jul 31
5
Group by clause
Hi
Does acts_as_ferret support a :group clause?
For e.g any rails options like :select or :group etc? or is it that it
supports only few of such options?Like it supports :include
Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/ferret-talk/attachments/20070731/a74fb666/attachment.html
2006 May 04
5
How to install Ferret to get the best performance
Hey all,
After dabbling with ActiveSearch, we''re coming back around to take
another look at Ferret.
ActiveSearch slowed to a crawl after indexing about 20k documents, each
20 lines each.
This time we may attempt to create multiple Ferret indexes (isolating
each organization''s data individually), since we eventually could have
upwards of 20k documents for some
2006 Sep 20
5
acts_as_ferret limit on multi_search not working?
I''m using acts_as_ferret to do a query like this:
Model1.multi_search("my query",[Model2,Model3], :limit => 2)
No matter what number i set limit to I get 10 items in the resultset. Am
I doing something wrong?
Thanks/David
--
Posted via http://www.ruby-forum.com/.