Displaying 20 results from an estimated 50000 matches similar to: "Installing"
2006 Sep 04
4
Fields
Sorry for asking so many questions recently.
Just wondered. I originally had acts_as_ferret in my model and I
performed a few searches. I then decided to change this line to
acts_as_ferret :fields => [ ?name? ]
However when I perform searches it is still listing results with queries
contained in fields other than the ''name'' field. How do i fix this?
--
Posted via
2007 Jul 27
5
Mongrel won''t start
I have a win xp box running instant rails. I installed ferret (the win
version) and acts_as_ferret seemingly succesfully. I then added "require
''acts_as_ferret''" to the environment.rb file of my project. However, I
cannot get webrick/mongrel to start. Can anyone suggest a solution?
Rick
--
Posted via http://www.ruby-forum.com/.
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 Oct 09
2
hello, acts_as_ferret questions, any help greatly appreciate
hi, ive been reading up on ferret, acts_as_ferret, and other search
plugins for rails.
after reading about ferret, i found out about the acts_as_ferrt plugin.
my first question about acts_as_ferret:
1. from reading about ferret, do i still need to manually save the IDX
and add a IDX column field to my model table for acts_as_ferret to work?
they say that acts_as_ferret handles everything,
2007 Jan 02
4
Inconsistant Search Results
Hi,
I have this maddening strange bug using acts_as_ferret. If I search for
a given phrase (let''s say "xyz") I get one set of results (lets call
them set A). I search for xyz again and I get set A again. I search for
xyz a third time and I get a different set (set B).
I can keep executing the search query and my result sets continue to
cycle a-a-b-a-a-b-a-a-b.
It''s
2007 Jul 17
3
two acts_as_ferret questions!
hi, guys:
two acts_as_ferret questions!
1, ruby script/plugin install
svn://projects.jkraemer.net/acts_as_ferret/tags/stable/acts_as_ferret
sh: svn: command not found
i can not install acts_as_ferret to my Rails project.
what''s wrong? i''m useing rhel 4!
2, i downloaded the acts_as_ferret-0.4.0.tgz at
http://rubyforge.org/frs/?group_id=2916&release_id=10617
and uploaded to
2006 Oct 12
3
IO Error occured at <except.c>:79 in xraise (IOError)
Hi,
after a long indexing run I got the following error. I have 149 MB space
left on the disk, the index is 311 MB large; could Ferret have tried to
use more than that for the optimizing? Or would that have resulted in a
different error message?
/usr/local/ruby-1.8.5/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/commands/runner.rb:27:
2006 Aug 24
5
[0.10.0 - acts_as_ferret] Problem while saving new items
Disclaimer: ferret newbie here, don''t blame too hard.
Hi, I''m trying to apply acts_as_ferret to apply search to my Person
model:
class Person < ActiveRecord::Base
validates_presence_of :name, :surname
acts_as_ferret :fields => [ ''name'', ''surname'' ]
...
But when I try to save a new Person instance I get this error:
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
2006 Aug 28
1
stop words and /''s
Hi new version of ferret and acts as ferret have sorted out the scary
glibc *** linked list pointer errors, thank god! New version are good
but some searches are still not working. It is mostly the stop words
ones. For example the "For Sale/Free/Swap" fails but works when "for" is
stripped out. I have read all the recent posts regarding this issue and
failed to get it to
2006 May 23
13
acts_as_ferret 0.2.1 segfault
Hi,
I just installed via script/plugin from the stable svn tag. (Revision 54)
I''m running Rails 1.1.2 and have Ferret 0.9.3 (with C extensions. no
compilation problems)
I put together a simple model to test it and I''m getting a segfault.
The model:
class Report < ActiveRecord::Base
acts_as_ferret :fields => [:title, :name]
end
$ script/console
Loading development
2007 Aug 19
4
SVN installation problem in ferret
Hello,
I am not able to run this command given in the tutorial
http://projects.jkraemer.net/acts_as_ferret/
*Inside your Rails project*
Please use
script/plugin install
svn://projects.jkraemer.net/acts_as_ferret/tags/stable/acts_as_ferret
gem is installed.
i have added the desired line in environment.rb as well
but while running this particular command of svn://.. nothing actually
2007 Nov 09
2
Problem with stemming and AAF
I''m sure I''m missing something completely obvious here, so I hope
someone can point me in the right direction!
I''ve implemented a basic search with AAF, which works as expected; I''m
running a ferret drb server, and using will_paginate to page results.
The code in my search_controller.rb:
search_text = params[:query] || " "
@products =
2006 Aug 25
6
End-of-File Error occured at <except.c>:103 in xpop_context
Hi, I get this when searching or adding a new record. I am using today''s
version of trunk and gem ferret 0.10.0
any ideas? thanks!
EOFError in DvbesController#new
End-of-File Error occured at <except.c>:103 in xpop_context
Error occured in store.c:197 - is_refill
current pos = 0, file length = 182
RAILS_ROOT: script/../config/..
Application Trace | Framework Trace | Full
2007 Feb 25
3
Acts _As_Ferret - How to confirm Indexing is complete?
Hello I have a couple of questions, Hope someone here can help answer
them.
I am using acts_as_ferret on a model Item with around 10 million rows.
I use Item.rebuild_index at the ruby console to build the index. It
seems to run for at least 48 hours when building.
My questions are:
1) How do you know when the indexing is over and complete?
2) How can you confirm that ALL records in the table
2006 Sep 03
9
using highlight from aaf
Hi,
I''m trying to use highlight ferret method with trunk aaf and 0.10.1
ferret.
In my search display I use:
Myindexedclass.ferret_index.searcher.highlight(@query, result_line.id,
:content)
* searcher is a protected method; how can I access to the searcher from
aaf ?
* is the doc id in aaf the same as my model id ?
* is the first param, query, the string query or the query object ?
2007 Apr 08
10
Ferret and non latin characters support
I''ve successfully installed ferret and acts_as_ferret and have no
problem with utf-8 for accented characters. It returns correct results
fot e.g. fran?ais. My problem is with non latin characters (Persian
indeed). I have tested different locales with no success both on Debian
and Mac. Any idea?
(ferret 0.11.4, acts_as_ferret 0.4.0, rails 1.1.6)
--
Posted via http://www.ruby-forum.com/.
2006 Oct 17
2
Problems with stop word analysis and queries
I have a problem, and I think it''s because stop word analysis isn''t
happenning in the queries. I think it''s the way ferret is doing things
that''s causing this bug. Let''s say I''m searching across documents with
a title. And I have a document with a title of "Bash Guide for
Beginners". If a user types in the query:
Bash Guide
2007 Jul 25
17
DRb not starting
Hi,
I have my Model as follows:
class Mutation < ActiveRecord::Base
acts_as_ferret ({:fields => {:description=>{},
:product_id=>{:index => :untokenized},
:product_description=>{},
:product_label_description=>{},
:product_label_free=>{},
:product_product_id_supplier=>{},
:product_description_supplier=>{},
:supplier_description=>{},
:pub_date_sort
2007 Apr 18
1
stack level too deep for method missing when using drb
I set up ferret and it''s running fine normally. Now I want to hook up
the backgroundrb server. However whenever I try to do a search, I get
this error:
(druby://localhost:9010) /usr/local/lib/ruby/1.8/drb/drb.rb:1075:in
`method_missing''
(druby://localhost:9010)
./vendor/plugins/acts_as_ferret/lib/remote_index.rb:20:in
`find_id_by_contents''
(druby://localhost:9010)