Ticket #340 (closed enhancement: fixed)
[PATCH] Batch processing functions
| Reported by: | francois.lagunas@… | Owned by: | somebody |
|---|---|---|---|
| Priority: | major | Milestone: | milestone2 |
| Component: | component1 | Version: | 2.0 |
| Keywords: | batch processing | Cc: |
Description
This patch add new functions to batch update and batch delete documents in a ferret index.
They are directly inspired of their single document versions.
The main advantage is that locking and committing costs (file system access mainly) are shared between a full set of documents. In practice, batch updating a few thousands documents at a time lead to a 10x speed-up on indexing.
This can be used in the acts_as_ferret rails plugin, to speed-up re-indexing and other operations :
http://projects.jkraemer.net/acts_as_ferret/ticket/202
Francois Lagunas
Scientific Director, Dailymotion
http://www.tourteaser.com
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

