Ticket #1140 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

Adding the package to the group is not search indexed

Reported by: dread Owned by:
Priority: major Milestone: ckan-v1.5
Component: ckan Keywords:
Cc: Repository: ckan
Theme: none

Description (last modified by dread) (diff)

To reproduce:

  1. paster db init
  2. paster create-test-data
  3. In Web UI: create new group 'tilo', which includes package 'annakarenina'
  4. curl http://localhost:5000/api/search/package?groups=tilo results in 0 results (WRONG)
  5. paster search-index rebuild
  6. curl http://localhost:5000/api/search/package?groups=tilo results in 1 result

Change History

comment:1 Changed 3 years ago by dread

  • Description modified (diff)

comment:2 Changed 3 years ago by dread

  • Milestone changed from ckan-v1.5-sprint-1 to ckan-v1.5-sprint-2

comment:3 Changed 3 years ago by dread

  • Owner dread deleted
  • Status changed from new to assigned
  • Milestone changed from ckan-v1.5-sprint-2 to ckan-v1.5

comment:4 Changed 3 years ago by kindly

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

fixed cset:987da68ea4f6

The package group table needed to trigger a reindex of the package.

comment:5 Changed 3 years ago by dread

Broken since CKAN v1.1. I have added this fix to v1.4.2 and v1.4.3 releases.

Note: See TracTickets for help on using tickets.