Problem

Elasticsearch connector based view doesn't display all results when pager is set to Display all items

I've an elasticsearch server (v6.7.2) and a fresh drupal 8 install:

  1. Enable elasticsearch_connector and search_api modules
  2. Create an elasticsearch cluster and set it to the elsaticsearch server.
  3. Generate 50 content with devel_generate
  4. Add a index to index article content type, add nid as field
  5. Create a view based on indexed articles and display nid as rows field
  6. Change pager from default 'paged output, mini pager' to 'display all items, no offset'

Result: only the 10 first items are shown. Any ideas on this strange behavior?

Thank you in advance

Comments

no74h created an issue. See original summary.

megha_kundar’s picture

We are also facing the same issue on our site. Views show 10 results when the pager is set to display all items. How do we solve this?

no74h’s picture

Still facing this issue, even when setting the pager to a fixed value (1000 for e.g); any ideas?

no74h’s picture

pySilver’s picture

artsays’s picture

Guys, I didn't play around with your configuration but you can try to use my patch. https://www.drupal.org/project/elasticsearch_connector/issues/3122891