Ticket #1104 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

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:1 Changed 3 years ago by rgrp

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

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.

comment:2 Changed 3 years ago by dread

  • Status changed from closed to reopened
  • Resolution invalid deleted

I agree this should be fixed.

comment:3 Changed 3 years ago by dread

  • Owner set to dread
  • Status changed from reopened to assigned
  • Summary changed from searching broken in development setup to create-test-data doesn't index the packages it creates
  • Milestone set to ckan-v1.4-sprint-7

comment:4 Changed 3 years ago by dread

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

Fixed on default cset:52a3fb230074 - create-test-data now indexes the package it creates.

Note: See TracTickets for help on using tickets.