Displaying 20 results from an estimated 9000 matches similar to: "[AAF] remote indexing via DRb with acts_as_ferret"
2007 Jul 03
6
How index works!
Hi, i''ve a project in wich i have 2 different rails apps accessing the
same DB.
The backoffice, as usual, changes data.
The frontoffice has a search capabilities with acts_as_ferret
(paginated) for search.
Maybe this is a newbie question but, when i delete index and restart
front app all the articles are indexed, but the new one''s (via
backoffice) are not searchable.
Does
2007 Mar 31
5
DRb server & aaf gem
I''m having problems getting the DRb server running with the aaf gem.  
I tried it with the plugin installed in my application, and it  
worked. I suspect the problem has something to do with the startup  
scripts expecting certain files to be in certain relative file paths.
Any insights are appreciated, and maybe if you have time you can  
update the wiki document :)
Thanks for a great
2007 May 15
12
AAF quirks in production mode
So my ferret behaves nicely in dev mode, but I just deployed and now  
he is not happy!
First thing I noticed was that in general my app would not start with  
a folder called "development" in my index folder, so I changed it to  
"production" and now my app is functioning.
However, when I try to search I get errors, which you can see here:
http://pastie.caboo.se/61767
Im
2007 May 31
5
complete index rebuild using AAF trunk
I am using AAF trunk, and I want a way to rebuild an index on a  
production site with little or no interruption to service. The Drb  
Server documentation* states that when an index is rebuilt, it is  
done in a separate location and then swapped into place when  
finished, and so to do a complete rebuild on a live site, one must  
take into consideration objects which have been created or
2007 Mar 31
8
Problem with setting up remote indexing
Hello,
I have been trying to set up the remote indexing for acts_as_ferret and
followed the guide here:
http://projects.jkraemer.net/acts_as_ferret/wiki/DrbServer
I added :remote => true to my models and then specified host and port
for the production environment.
After defining the host/port for production, I tried to run my
development server and received the following error:
2007 Sep 11
7
aaf requires drb?
Hi,
I''ve just read some an article
(http://www.jroller.com/BrightCandle/entry/oversights_in_rails_plugins_really.)
This article (and the comment,) seem to imply that drb is required if
running under a fastcgi kind of deployment. Is this true?
Thanks,
Chris.
ps this is for a different server then my previous question.
-- 
Posted via http://www.ruby-forum.com/.
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 Jul 06
6
Ferret::FileNotFoundError - delete
Hi,
we are using ferret and acts_as_ferret in a single server setup. We have
2 models that use acts_as_ferret.
We are running into problems where a create or update of the models
cause a ferret error
Ferret::FileNotFoundError occured at <except.c>:117 in xpop_context
Error occured in fs_store.c:329 - fs_open_input
Where the file that needs to be opened isn''t there.
The error
2007 Sep 05
6
aaf index rebuild problems on windows
hello list!
i''m still having massive problems with index rebuilds.
after i recently switched to the DRb mode i was hoping to get rid of the
problems with locked files and such.
but even with DRb and the latest stable version of acts_as_ferret my
index rebuilds are failing
C:\Informer>ruby script/console production
Loading production environment.
>> LegacyInfobase.rebuild_index
2007 Apr 19
7
Lock errors and segfaults
Greetings,
I''ve been using ferret with great results now for a while, but in the last week, I''ve
been running into some issues.
I will occasionally see this message:
Exception Message: Lock Error occured at <except.c>:103 in xpop_context
Error occured in index.c:5368 - iw_open
        Couldn''t obtain write lock when opening IndexWriter
Which is accompanied by
2007 Oct 05
5
DRbConnError when using script/runner
I am running ferret (0.11.4) and acts_as_ferret (stable from svn) in a
rails 1.2.3 app in production using the DRb server.  I recently upgraded
my configuration and the method with which I start and stop the server
no longer works:  Here is the command I would like to use (and have used
in the past) to start the aaf server:
$ /Library/WebServer/rails/ccdb/current/script/runner -e production
2007 Mar 26
6
[AAF] acts_as_ferret 0.4.0 released
Hi folks!
Just wanted to let you know that I released aaf 0.4.0 on last weekend.
Besides the DRb server it also includes a new lazy loading feature that
lets you do ferret searches without actually loading any records from the
DB. Useful e.g. for live searches:
model:
class MyModel
  acts_as_ferret :fields => { :title => { :store => :yes }, :content => {} }
end
controller:
2007 Jul 13
8
More sorting problems with untokenized index
I''m having problems sorting on untokenized fields. I have one field that
sorts fine, but there are others that seem to sort on a different field.
Here''s the index description:
  acts_as_ferret
:remote=>true,:fields=>{:name=>{:boost=>2},:name_for_sort=>{:index =>
:untokenized},
    :city=>{:boost=>2}, :city_for_sort=>{:index=>:untokenized},
   
2007 Jul 02
8
Strange intermittent no search results problem
Hello,
First the specs:
ruby 1.8.6, rails 1.2.3, ferret 0.11.4, mongrel 1.0.1, mongrel_cluster 0.2.1
And the model''s aaf config:
  # Ferret search engine
  acts_as_ferret({:fields => {:name          => {:boost => 10},
                              :summary       => {:boost => 2},
                              :body          => {:boost => 1, :store =>
:no},
      
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/.
2007 Jun 13
14
Do delegates work properly in Drb mode?
Hi folks,
I have several models that index well in Drb mode.
However, I have one scenario where it works in normal mode, but not in
Drb mode.
model A
 field :one
end
model B
 belongs_to :a
 field :two
 delegate :one, :to => :a
 acts_as_ferret :fields => { :one => {}, :two => {} }, :remote => true
end
If I leave off the :remote parameter, it works. Or, if I don''t
2006 Nov 20
22
Index only partially built
I have an application which I''m running using Mongrel and Apache as 
described here http://www.napcs.com/howto/rails/deploy/.
I have a model Person which I am attempting to use acts_as_ferret with.
When I first try to do a search the index begins to get built but it its 
fails halfway through with the following error in the browser:
===
Proxy Error
The proxy server received an invalid
2007 May 24
2
Strange Problem with AAF DRB connection
Hi all!
We use the DRB-Server Backend and are getting strange DRb::DRbConnErrors
lately. It started with:
too large packet 687865856
  (druby:/10.0.0.10:9010) /usr/lib/ruby/1.8/drb/drb.rb:573:in `load''
and later only this one:
premature marshal format(can''t read)
  (druby:/10.0.0.10:9010) /usr/lib/ruby/1.8/drb/drb.rb:580:in `load''
Do you have any ideas what that
2007 Jun 08
13
Errror on update after Model.rebuild_index
Hi
I use Ferret 0.11.4 and the latest stabel version of the acts_as_ferret
plugin.
To the issue. if I do Model.rebuild_index and after that try to update
one of my objects of that Model I get:
File Not Found Error occured at <except.c>:117 in xpop_context
Error occured in fs_store.c:329 - fs_open_input
  tried to open
2007 Nov 13
8
acts_as_ferret : cannot use a customized Analyzer (as indicated in the AdvancedUsageNotes)
Hi all,
I cannot make aaf (rev. 220) use my custom analyzer, despite following the
indications @
   http://projects.jkraemer.net/acts_as_ferret/wiki/AdvancedUsage
To pinpoint the problem, I created a model + a simple analyzer with 2 stop
words : "fax" and "gsm".
test 1 : model.rebuild_index + model.find_by_contents("fax")  # fax is a
stop word.
   => I get a