To edit pages or tickets please login with username/password: aaf/aaf

Ticket #144 (closed enhancement: fixed)

Opened 1 year ago

Last modified 1 year ago

Add support for index batch updates

Reported by: jk Assigned to: jk
Priority: major Milestone: 0.5
Component: 0plugin Version:
Keywords: Cc:

Description

It should be possible to re-index several model instances at once, without the need to fetch them from DB first (especially via DRb):

Model.batch_index( 12, 13, 14, 22, 23 )

Useful e.g. after operating on large data sets with Ferret disabled, or directly via SQL.

Change History

08/31/07 22:01:23 changed by jk

  • status changed from new to closed.
  • resolution set to fixed.

Added

Model.bulk_index(*ids)

It will temporarily turn off auto_flush and optimize the index afterwards.

To edit pages or tickets please login with username/password: aaf/aaf