xapian-haystack icon indicating copy to clipboard operation
xapian-haystack copied to clipboard

Wrong results for facet_counts() with pagination

Open lmeunier opened this issue 12 years ago • 3 comments

Hi,

I'm trying to use faceted search with pagination, but facet counts seems to be done only for one page. For example:

  • query gives 690 results
  • 20 results/page
  • the sum of facets.fields.myfield.1 is 20 (should be 690)

Laurent

lmeunier avatar Mar 06 '12 17:03 lmeunier

This issue should be fixed in master. Are you running a tag or master itself?

On Tuesday, 6 March, 2012 at 9:59 AM, lmeunier wrote:

Hi,

I'm trying to use faceted search with pagination, but facet counts seems to be done only for one page. For example:

  • query gives 690 results
  • 20 results/page
  • the sum of facets.fields.myfield.1 is 20 (should be 690)

Laurent


Reply to this email directly or view it on GitHub: https://github.com/notanumber/xapian-haystack/issues/92

notanumber avatar Mar 06 '12 18:03 notanumber

I'm running master itself. I've installed xapian-haystack with this command: pip install git+https://github.com/notanumber/xapian-haystack.git

Haystack version 1.2.6.

lmeunier avatar Mar 06 '12 18:03 lmeunier

Having this issue with xapian-haystack 1.1.5beta (from PyPI) and django-haystack 1.2.7 (also from PyPI).

I can't update to master because that has django-haystack 2.x.x as a requirement.

stephenpaulger avatar Dec 19 '12 09:12 stephenpaulger