Displaying 20 results from an estimated 10000 matches similar to: "Multiple index instances and ferret/acts_as_ferret"
2007 Sep 11
2
Newcomer perceived problems with AAF/Ferret
I blogged about some of the problems with aaf in production
(http://www.jroller.com/BrightCandle) yesterday but inspired by the
poitive response I thought I would share the perceived problems and
discuss some of the potential solutions to help newcomers and make aaf
work as if by magic just like Rails does.
All of these problems boil down to one simple problem, running acts as
ferret in a
2007 Sep 07
4
Ferret DRB - can add/edit index, but can''t search
I''m trying to use the Ferret DRB server to avoid concurrency issues when
using multiple mongrels. I can successfully add and edit data on my
index via the DRB server, however, when I search the index, I get the
following error:
DRb::DRbConnError (DRb::DRbServerNotFound):
/usr/lib/ruby/1.8/drb/drb.rb:1647:in `current_server''
/usr/lib/ruby/1.8/drb/drb.rb:1709:in
2007 Jul 22
1
Strange Connection refused error acts_as_ferret server
I am having a strange problem starting the acts_as_ferret Drb server on
a particular Linux machine (Debian Etch). The same setup works fine on
my Mac (OSX).
Without the Rails application running (yes, I''ve checked several times)
I get the following error if I try to start the ferret server and one of
my models contains :remote => true for acts_as_ferret:
>>
script/ferret_start
2007 Sep 13
5
refreshing indexes?
I am new to ferret and am just reading about it in the O''reilly
shortcuts as well as other web resources. My app is a Rails app and so
I am looking into acts_as_ferret as well. There are some questions for
which I couldn''t find answers in the material I have read so far so
I''d appreciate any help on these from the list.
A bit of a background. My app will have 10,000 -
2007 Aug 31
4
ferret acts_as_ferret and performance
hello,
I am actually indexing thousands of 1ko text documents using ferret and
acts_as_ferret, and i face performance problems.
I takes me hours to index 20 000 1ko text documents.
Methology used :
I create and object, fulfill it with the text, and save it. So it is
automaticly indexed.
Is there a way to make it faster ? ( remove the auto optimize option
somewhere ?)
Thank you if you have any
2007 Nov 15
8
Ferret/AAF Stability?
Hello. I''m the author of DataMapper (http://datamapper.org), and am
trying to choose what Full-Text-Indexing engine/plugin I want to
include by default. I was hoping you guys could help. :-)
Sphinx comes highly recommended, but without live index updates, it
just doesn''t seem practical for most of my work.
I''m most experienced with Solr, but the whole HTTP::Request and
2007 Nov 16
18
Multithreading / multiprocessing woes
I''ve been running some multithreaded tests on Ferret. Using a single
Ferret::Index::Index inside a DRb server, it definitely behaves for me
as if all readers are locked out of the index when writing is going on
in that index, not just optimization -- at least when segment merging
happens, which is when the writes take the longest and you can
therefore least afford to lock out all reads.
2007 Sep 20
5
Ferret DRB, UTF-8, Mongrel
I have spent days trying to figure out how to get UTF-8 working with my
site.
Here''s my environment:
Linux version 2.6.16.29-xen_3.0.3.0
Ruby 1.8.4 (2005-12-24 [i386-linux]
Rails 1.2.3
mongrel (1.0.1)
mongrel_cluster (1.0.2, 0.2.1)
ferret (0.11.4)
acts_as_ferret stable plugin
Ferret DRB server
When I don''t use an analyzer with my acts_as_ferret declaration,
everything works
2007 Oct 03
3
The ferret logs
Hi.
We''ve had some problems with ferret not being able to load our classes
(stack trace below for the curious).
I nailed it down to a deployment issue, where an old instance of ferret
drb was running. I don''t understand the details quite yet, but the
result was the the old ferret was never shutdown during redeployment,
and attempts were made to start up a new one.
Anywho,
2007 Aug 27
2
Ferret DRb on windows?
i''m running a bunch of proxybalanced mongrels on a windows server.
and since the memory consumption of all those mongrels is getting too
high i wanted to set up the DRb''ed ferret server.
but script/ferret_start doesn''t work and seems to be written for linux
(unix) only.
is there a way to run it on windows?
--
Posted via http://www.ruby-forum.com/.
2007 Dec 02
1
solaris SMF to start ferret drb server
Jesse Grosjean wrote:
> I''m trying to write a solaris SMF file to launch the ferret drb server.
Hmm, I think I''ve hit a similar problem. I''ve just upgraded to the
latest ferret trunk from an old aaf stable where the script/ferret_start
and script/ferret_stop scripts were still in use.
now if I call the old script...
RAILS_ENV=production script/ferret_start
2007 Sep 24
2
ferret fuzzy matches
Hi guys,
Is there some way of getting ferret matches string, when i do a fuzzy
search?
The scenario is this:
1. The user search for ''show''
2. Nothing was found
3. So I do a fuzzy search, passing ''show~''
4. It gives me somes results, most of all was matched with ''showcase''
5. So I want to tell the user that: Nothing was found with
2007 Apr 19
1
DRb examples for vanilla Ferret?
Hi folks!
Does anyone have any example code for using a DRb Ferret server? No AAF.
Dave - is yours ready?
I know Jens has one, but I was hoping for something more stand-alone. I
assume Jens has a lot of other code in there.
Schnitz
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2007 Aug 10
3
Different ferret fields for instances of the same model?
Hi all,
So far as I know, while using acts_as_ferret, we should add the
following declaration in the ActiveRecord model which is going to be
indexed:
acts_as_ferret({:fields => @@ferrect_fields})
in which @@ferrect_fields is a hash containing all the field to be
indexed. This is pretty much for some simple situations. But I got a
more complex situation that I want to define the fields to be
2007 Sep 17
3
Ferret FileNotFound error
Hi,
I have a model that I''ve been indexing and searching with ferret some
problem.
We get the following error when accessing the model
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 "/var/www/html/cuproject/index/development/album/_b.cfs"
but it doesn''t exist: <No such file or
2007 Jun 06
6
Is anyone successfully using acts_as_ferret with Ferret 0.11.4?
Hi all,
I upgraded from Ferret 0.11.3 to Ferret 0.11.4 because I was getting
intermittent segfaults that seemed to be due to a bug which was fixed
(changeset 749).
Unfortunately, 0.11.4 + acts_as_ferret seems to be a bad combination. I''m
getting the some "fs_store/File Not Found Error occured at <except.c>:117"
which was reported in the "Constant 0.11.4
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
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/.
2008 Jan 09
5
Parallel indexing doesn''t work?
Hi,
I''m trying to get parallelized ferret indexing working for my AAF
indices, based on the example in the O''Reilly Ferret shortcut.
However, the resulting indices after merging seem to have no actual
documents.
I went and made minimal changes to the example in the Ferret shortcut
pdf, and indeed can''t get that to work either. I''d appreciate any help
2007 Aug 14
3
Should "a" match "ä" in ferret?
Hi all,
I have indexed a huge amount of data with text from several european
languages. In the index are values like Georg Friedrich H?ndel.
I would like a search phrase like "Georg Friedrich Handel" to find
records with the real spelling of H?ndel but it doesn''t seem to work.
Can anyone give me an idea of what I need to do to make this happen. A
bit lost here and