Ticket #1440 (closed defect: fixed)
'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 |
Description
paster db load ckan.pgdump will load in the database but not update the search index, no we're using SOLR.
implementation
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
Note: See
TracTickets for help on using
tickets.
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.