Displaying 20 results from an estimated 10000 matches similar to: "Performance before and after optimization"
2007 Nov 10
1
Ferret-talk Digest, Vol 25, Issue 3
Thanks Stuart. I thought I had read somewhere that rebuild_index
built the index in a different location and then swapped it, but
after looking at the code (in local_index.rb) this doesn''t appear to
be the case. That might explain why the ferret server crashes
sometimes when a search takes place during a reindex.
I wouldn''t be doing exactly the same thing as this but
2008 Jan 25
4
ferret success stories?
Hi all,
there was a recent thread[1] on rails-deploy about Ferret in which a lot
of people complained of problems using it in production.
I''ve been using Ferret (with DRb) for many months now with no serious
issues. I''m assuming the posters know what they''re doing so I''m
guessing they''re just using Ferret in higher-scale environments than me.
I
2007 Jul 24
4
Act as Ferret supports Conditional search?
Hi all,
Im a newbie to ferret.I have installed the act_as_ferret gem and i
actually want to search for some content in the model,but per user.
My model has data,user_id.So within the data column i have to serach for a
word if it exists for a given user.
So can i achieve that ? presently i know that it just searches the "data"
column irrespective of the user given.
Can someone help me
2007 Aug 24
7
can''t create new ticket
Hi there,
I can''t seem to find a way to create a new ticket.
I''d like to create tickets for those two reproduced bugs:
http://rubyforge.org/pipermail/ferret-talk/2007-June/003588.html
http://rubyforge.org/pipermail/ferret-talk/2007-June/003600.html
Can anybody please do it for me or point me in the right direction ?
TIA
--
2007 Nov 07
2
Ferret-talk Digest, Vol 25, Issue 2
> From: Jens Kraemer <jk at jkraemer.net>
> Subject: Re: [Ferret-talk] Performance before and after optimization
> On Sat, Nov 03, 2007 at 08:49:17PM +0800, Alex Neth wrote:
> [..]
>> 2) Can I keep a second index so that it doesn''t get locked during
>> optimization and then switch to the optimized index? Perhaps the
>> index
>> is not really
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 Sep 17
2
Drb - shared app with multiple private databases - howto?
Hello,
I''ve been trying to get my head around ferret and the one thing that
stumps me is how I might use Drb on a dedicated server with multiple
clients using the SAME application but each with their own private
database and other file assets (in an uploads directory within the
app)
Thank you for any suggestions, pointer etc.
Also I''d be very interested in hearing from those
2007 Sep 12
3
Can''t disable ferret when running in Mongrel
In my environment.rb I say the following:
MyModel.disable_ferret
puts MyModel.ferret_enabled?
The console works as expected:
script/console
false
>> MyModel.ferret_enabled?
=> false
I can then edit an instance, ferret remains disabled and the changes
are not immediately indexed.
However, when I start mongrel Ferret is initially disabled, but then
somehow becomes enabled again
2007 Dec 05
2
Term frequency doesn''t decrement after document is deleted.
Hey all,
The frequency count returned by my ferret reader doesn''t decrement
after I remove a documents with those terms. Using the example from
http://ferret.davebalmain.com/api/classes/Ferret/Index/TermEnum.html
the frequency increments after a document is added but stays the same
after a document is deleted.
index.reader.terms(:tags).each do |term, freq|
"#{term} appears
2007 Jul 29
3
Memory leak in PerFieldAnalyzer
Hello everyone,
we''ve recently discovered a memory leak in the
PerFieldAnalyzer. If you use the PerFieldAnalyzer
(which you acutally should), you should switch
to a pure ruby version of that analyzer. The C
version of the Analyzer is consuming memory
on every analyzing request.
You can find an example script to verify the
leak[1]. Furthermore we''ve added a
workaround, building
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
2008 Jun 04
2
Is Ferret''s SVN repository down?
Is Ferret''s SVN repository down? I''m trying to get the source from
svn://davebalmain.com/ferret, but I keep getting "Connection Refused"
errors. Did the URL change, or is Ferret''s repository really down?
--
Bira
http://compexplicita.wordpress.com
http://compexplicita.tumblr.com
2008 Jan 02
4
utility of default_field
The documentation* states that when using a single index for multiple
models, the default_field list should be set to the same thing for
all models.
However, in my application, all my models have very different fields
and this is not possible. I still want the results returned sorted by
term frequency across all indexed content in each model.
What is the purpose of default_field? Under
2009 Apr 09
4
Weird analyzer issue with the word ''fly''
Hi all
I''m using a_a_f in rails with a StemmingAnalyzer, in the index and in my
search. I got the idea from this topic:
http://www.ruby-forum.com/topic/80178
I''m having a problem with some search terms - i narrowed one of them
down to the inclusion of the word ''fly''. Can anyone give me any clues
at to what might be happening, or even how i can investigate?
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 Aug 23
4
index all but search in some fields
Hi,
i like to index most of my model fields, but limit the search only to a
(changing) subset of this fields.
--
Posted via http://www.ruby-forum.com/.
2007 Sep 28
6
Prevent indexing depending on variable
Hi guys, I''m using attachment_fu on my site to allow users to upload
pictrues. Pictures can be set to only allow friends to view them.
The problem I''m having is ferret is indexing the images along with their
thumbnails which means I end up with a lot of broken images in the
search. Also it''s indexing images whose privacy is set to 1 (friends
only).
How could I go about
2007 Oct 10
2
Multiple index instances and ferret/acts_as_ferret
We''re running Ferret and acts_as_ferret in our production environment. We
have multiple mongrels talking to a single index on a separate (virtual)
server over DRb. This is working ok for now, as our index updates are fairly
infrequent. I''m concerned with the lack of rendundancy/scalability in this
layout.
Our index won''t get too big - maybe 100k indexed objects, each no
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 Oct 03
3
Pagination problem with acts_as_ferret
Hi,
am using this wonderful plugin acts_as_ferret and according to the
tutorial at http://railsenvy.com/2007/2/19/acts-as- ? rial#basic
I worked it out except the pagination feature.
If I have 12 records and I give limit to 10, its correctly displaying 10
records in the first page and is giving the link to the second page too.
But when I go to the next page I find the same 10 records instead of