Ticket #1104 (closed defect: fixed)
create-test-data doesn't index the packages it creates
Reported by: | johnlawrenceaspden | Owned by: | dread |
---|---|---|---|
Priority: | awaiting triage | Milestone: | ckan-v1.4-sprint-7 |
Component: | ckan | Keywords: | |
Cc: | Repository: | ckan | |
Theme: | none |
Description
With the default test data created by
paster db clean paster db init paster create-test-data
going to the front page shows two recently changed packages A Wonderful Story A Novel by Tolstoy
But none of those words "Wonderful", etc produce search hits. In fact as far as I can tell, nothing produces any search hits.
That isn't true on ckan.net, where searching seems to work.
Change History
comment:2 Changed 3 years ago by dread
- Status changed from closed to reopened
- Resolution invalid deleted
I agree this should be fixed.
Note: See
TracTickets for help on using
tickets.
You haven't done paster search-index rebuild I think.
If you haven't the search index will not have been built (Create Test Data code creates data without indexing it). This could be considered a bug of Create Test Data but I'm not sure -- if you think so re-open this ticket and change description.