Displaying 20 results from an estimated 400 matches similar to: "corrupted index preventing save"
2006 Jun 17
2
preventing indexing of an acts_as_ferret''d model?
Hi, this is hopefully an easy one, but I''ve gone through the api and searched
past forum entries, and am drawing a blank.
I have a model that with acts_as_ferret mixed in to it, which is working fine.
But I want users to be able to set a ''private'' attribute on the model, and when
it''s set to true, create and update methods would skip indexing. So, how can I
2006 Nov 28
4
Update/Create record only if field is true
I have a sellable flag in my database. I''m trying to have ferret only
add/update records where sellable == true. What is the best way to do
this? I''ve tried editing instance_methods.rb in the AAF, but I still
can''t get it to work.
Thanks for the help
--
Posted via http://www.ruby-forum.com/.
2007 Mar 27
4
Standardization
? stato filtrato un testo allegato il cui set di caratteri non era
indicato...
Nome: non disponibile
Url: https://stat.ethz.ch/pipermail/r-help/attachments/20070327/bc70aec5/attachment.pl
2006 Aug 25
7
disabling automatic indexing in acts_as_ferret
I''d like to be able to enable/disable the automatic indexing of
documents acts_as_ferret does. Something like MyModel.disable_indexing
MyModel.enable_indexing would be perfect. I need this because I do some
indexing that requires visiting the parents of the model objects and my
import method imports the children first, so the information isn''t there
yet. I''d like to
2007 Nov 11
5
undefined method `add''
We''ve been running into problems with ferret indexing lately. The
problem is intermittent and some times it persists. Just got this after
wiping the index and redeploying:
NoMethodError (undefined method `add'' for Solution:Class):
(druby://10.1.65.87:9009)
/data/releases/20071111152414/vendor/rails/activerecord/lib/active_record/base.rb:1238:in
`method_missing''
2007 Oct 01
2
FileNotFoundError
Hi, I saw someone else have this earlier. The recommendation is still to
downgrade to 0.11.3?
Oct 01 19:56:09 ey01-s00116 rails[3175]: Ferret::FileNotFoundError (File
Not Found Error occured at <except.c>:117 in xpop_contextError occured
in fs_store
.c:329 - fs_open_input tried to open
"/data/zendesk/current/config/../index/production/ticket/_l.cfs" but it
2005 Dec 02
43
ANN: acts_as_ferret
Hi all
This week I have worked with Rails and Ferret to test Ferrets (and Lucenes)
capabilities. I decided to make a mixin for ActiveRecord as it seemed the
simplest possible solution and I ended up making this into a plugin.
For more info on Ferret see:
http://ferret.davebalmain.com/trac/
The plugin is functional but could easily be refined. Anyway I want to share it
with you. Regard it as a
2005 Dec 02
43
ANN: acts_as_ferret
Hi all
This week I have worked with Rails and Ferret to test Ferrets (and Lucenes)
capabilities. I decided to make a mixin for ActiveRecord as it seemed the
simplest possible solution and I ended up making this into a plugin.
For more info on Ferret see:
http://ferret.davebalmain.com/trac/
The plugin is functional but could easily be refined. Anyway I want to share it
with you. Regard it as a
2006 Aug 26
7
Erratic behavior with ferret 0.95 and acts_as_ferret
I am getting this issue also... Does anyone know what this is? When will
Acts as Ferret be available for v10?
Thanks for your help in desperation!
Caspar wrote:
> Okay previous post related to me trying to fix this problem with an
> upgrade to ferret 0.10.0 but acts as ferret is obviously not compatible
> with this new version of ferret.
> My app is about to go into production and
2002 Aug 20
5
how to limit connections from certains inet subnet the best way?
Hello all,
i am new to shorewall and i already have a question ;)
i am running a mailserver in my dmz (or actually this will be when =
evertything will be working fine with shorewall) with public ip =
addresses.. i have a subnet of 8 ip addresses (255.255.255.248 mask) and =
i was planning of the classic 3 nic (eth0-2) setup... the dmz should =
work with proxy-arping...=20
now my quesion is
2010 Aug 19
1
logistic regression tree
hello everyone,
i sampled 100 stands at 20 restoration sites and presence of 3 different
invasive plant species.
i came across logistic regression trees and wonder if this is suited for my
purpose - predicting presence of these problematic invasive plant species
(one by one) by a set of recorded ecological / geographical parameters.
i'd be glad if someone would comment on applying this
2006 Jun 01
1
Using acts_as_ferret outside rails
How do I use a model that has "acts_as_ferret" defined outside rails?
I''ve tried adding this to the top of my model:
require
"#{RAILS_ROOT}/vendor/plugins/acts_as_ferret/lib/acts_as_ferret.rb"
and then defining RAILS_ROOT and RAILS_ENV in my app that uses the model
outside rails. That got me this exception:
2007 Nov 11
6
Reducing dependency on remote ferret process
Hi.
We use FerretDrb for search. If the ferret process is down, our entire
application comes down the moment we try to save a model which is indexed.
Is there a way to decouple this relationship such that we can somehow
resume normal operations despite ferret being down and not index the model?
Thanks.
Morten
2008 Jan 10
2
Error on manual indexing
I''m having some problems with getting the drb server to work correctly
on my production server. As a workaround I tried disabling automatic
indexing and have a cron job manually update the index every hour or so.
I disabled the automatic indexing with:
def ferret_enabled?
false
end
But whenever I try Page.rebuild_index
I get a ''wrong number of arguments''
2006 Nov 06
21
acts_as_ferret and associations
I have the following models:
class Book < ActiveRecord::Base
acts_as_ferret
belongs_to :author
end
class Author < ActiveRecord::Base
has_many :books
end
and in the controller:
def search
if params[:query]
@query = params[:query]
@total, @books = Book.full_text_search(@query, :page =>
(params[:page]||1))
@pages =
2001 Mar 04
1
passing pointer types via .C calls
Hi,
this relates to my earlier message about external references and
finalizers. I was experimenting over the weekend and now suspect that
the appropriate solution to my problem will be to have a special case in
the code that handles the .C call so that external references are
handled appropriately - I guess that a pointer to the reference should
be passed to the C code. As I've never
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
2007 Oct 11
8
ADSL channel boding or Load balancing
Hi There,
We currently using iproute2 for load balancing. However we need more
upload speed as we load balance over 3 dsl lines.
I''ve been looking for a way to combine the upload speed to more
faster. Found a site called www.upstreaminter.net where these guys
bond the adsl channels to improve uploads, Since downloading is
problem as its need to know the ip address of the downloader they
2000 Jul 07
1
keyboard-interactive authentication mehtod?
Hi all,
I noticed that support for the keyboard-interactive user authentication method
is mentioned on the "todo" list in the README.openssh2 file. Is anybody
actively working on this?
Thanks,
Mike
--
Michael Kiernan mkiernan at avantgo.com +1-650-638-7581
2010 Jan 24
4
totem: something wrong with gstreamer-plugins-ugly
When running totem to play a move (e.g. mpeg-1 file), it fails with the
message: "A MPEG-1 System Stream demuxer plugin is required to play this
stream, but not installed."
After reading docs and trying various things I've reduced the source of
the problem to the package gstreamer-plugins-ugly-0.10.11-1.el5.rf.i386.rpm
# rpm --rebuilddb
# rpm -q libdvdread
libdvdread-4.1.3-1.el5
#