Ticket #1440 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

'paster db load' doesn't update search index

Reported by: dread Owned by: dread
Priority: awaiting triage Milestone: ckan-sprint-2011-11-07
Component: ckan Keywords:
Cc: Repository: ckan
Theme: none


paster db load ckan.pgdump will load in the database but not update the search index, no we're using SOLR.


We can't tack on 'rebuild' to this command, because it needs a 'db upgrade' first. I'm tempted to make 'db load' do the upgrade and rebuild all in one command.

Change History

comment:1 Changed 2 years ago by dread

  • Status changed from new to closed
  • Resolution set to fixed

I've done this. 'db load' now also does 'db upgrade' and 'search-index rebuild'. If you want to debug the load (or don't need the search index, cos it takes ages to do), then you can just do 'db load-only' which does what 'db load' did before.

Changed in cset:9e51df5c496b for 1.5 release.

Note: See TracTickets for help on using tickets.