Ticket #1683 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

Dataset search results - last item out of order

Reported by: dread Owned by: dread
Priority: minor Milestone: ckan-sprint-2012-01-23
Component: ckan Keywords:
Cc: Repository: ckan
Theme: none


On each page of package search results, all the items are neatly sorted apart from the last item of the page. SOLR gets the sorting of the results incorrect.

This is a known issue: https://issues.apache.org/jira/browse/SOLR-1777 affecting SOLR 1.4 only (which comes with Ubuntu 10.04)

It is highlighted in CKAN test ckan/tests/functional/test_pagination.py:TestPaginationPackage of commit 39096ed54bda86d043521b08b2e14fc5e283a0ff which fails most of the time it is run (passes intermittently).

Change History

comment:1 Changed 2 years ago by dread

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

Workaround done in branch defect-1683-search-order - SOLR is asked for one extra result which it then discards. Merged to master, aimed for release 1.5.2.

When we upgrade SOLR from 1.4 then we can remove this workaround

comment:2 Changed 2 years ago by dread

Note: See TracTickets for help on using tickets.