It is related with Django's pagination...
The results per page value can be set with:
HAYSTACK_SEARCH_RESULTS_PER_PAGE = 20
in the settings.py.
I had found and defined this setting before but it wasn't working because I
had this in the HAYSTACK_CONNECTIONS dict (don't ask me why...).
I have
Thanks for the hint!
It seems to be related with Django's pagination:
with:
{{ page.paginator.count }}
and
{{ page.paginator.num_pages }}
I can see that I have 58 hits and 3 pages, which is correct.
I was getting maximal 2 pages with 20 pages each.
Now I have to check how pagination in Django
it sounds like elastic is paginating, did you check that?
On Tue, May 23, 2017 at 12:41 AM, Nick Gilmour wrote:
> Hi all,
>
>
>
> I'm following an example to setup Django with Haystack and ES from here:
>
>
Hi all,
I'm following an example to setup Django with Haystack and ES from here:
https://krzysztofzuraw.com/blog/2016/haystack-elasticsearch-part-one.html
Everything seems to be working OK except from the number of the results –
they are always maximal 20. But actually a single query should
4 matches
Mail list logo