Displaying 7 results from an estimated 7 matches for "bulk_index".
2007 Oct 04
2
Offline indexing issues
If I disable ferret in my environment file and then run a cron job
every hour to index the records that have been added/changed, do I
enable Ferret just in the script that does the hourly indexing? Or do
I somehow need to tell the process that runs the Ferret DRB server
that it should start writing to the index again? Thanks in advance.
Erik
2007 Sep 14
2
bulk_index
Hello Jens,
Will bulk_index be available in ferret 0.11.5 ?
--
Posted via http://www.ruby-forum.com/.
2008 Jan 10
2
Error on manual indexing
...get a ''wrong number of arguments'' error. I seem to remember that
this used to work, am I doing something wrong or has something changed?
The full error:
ArgumentError: wrong number of arguments (1 for 0)
from ./script/../config/../config/../vendor/plugins/acts_as_ferret/
lib/bulk_indexer.rb:19:in `ferret_enabled?''
from ./script/../config/../config/../vendor/plugins/acts_as_ferret/
lib/bulk_indexer.rb:19:in `index_records''
from ./script/../config/../config/../vendor/plugins/acts_as_ferret/
lib/bulk_indexer.rb:19:in `each''
from ./script/../config/../...
2008 Jan 21
4
Rails app cannot connect to Ferret server
...ge_unit, :price, :show_image_on_list, :phone2, :ts_display, :color_id,
:show_bold_text, :phone1, :disappeared_from, :qty_available,
:date_sale_ready, :phone3, :user_id, :ts_expire]
ArgumentError (wrong number of arguments (1 for 0)):
(druby://localhost:9010)
/vendor/plugins/acts_as_ferret/lib/bulk_indexer.rb:19:in
`ferret_enabled?''
(druby://localhost:9010)
/vendor/plugins/acts_as_ferret/lib/bulk_indexer.rb:19:in `index_records''
(druby://localhost:9010)
/vendor/plugins/acts_as_ferret/lib/bulk_indexer.rb:19:in `each''
(druby://localhost:9010)
/vendor/plugins/act...
2007 Sep 27
5
Remote index blocks?
Using the Drb allows me to synchronize writes to the index in a multi
mongrel environment. I was under the impression that the remote index
would not block if two mongrels were searching the index. Is that the
case? This line in ferret_server.rb makes me think otherwise:
# Calls are not queued atm, so this will block until the call
returned.
#
def method_missing(name,
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 Oct 07
0
ferret performance before optimization
...y problem is that I am adding on the order of hundreds of records, so
not that many. The index is REALLY slow after I start adding records
until I call optimize_index (I added a method for that - it''s a ferret
function). Then it drops from >2 seconds to ~100ms per query.
I figure the bulk_index functionality will help close the window of
slowness, but not ideal and I don''t know when that will be added to a
stable tag.
Any idea why this would happen or how to avoid it?
Thanks
--
Posted via http://www.ruby-forum.com/.