10up / ElasticPress

A fast and flexible search and query engine for WordPress.
https://elasticpress.io
GNU General Public License v2.0
1.25k stars 312 forks source link

BUG: pagination after index #2350

Closed tbuA3web closed 3 years ago

tbuA3web commented 3 years ago

Describe the bug I have a pagination on my home page which is 2506 pages without using the module. When I use the module I only have 705 pages left. I restart an indexing with the command: "wp elasticpress index --setup --show-errors --allow-root" But nothing changes. If I deactivate the module, it works.

Steps to Reproduce

  1. Activate module
  2. index with "wp elasticpress index --setup --show-errors --allow-root"
  3. Go to homepage
  4. See problem

Expected behavior I thought it was going to work the same. Either 2506 pagination page

Environment information

felipeelia commented 3 years ago

Hi @tbuA3web,

You will need to debug it further. Some questions:

  1. What is the query you are running on your homepage? A simple list of posts, a specific search?
  2. Did you already identify some characteristics of posts that are not returned when ElasticPress is enabled?

Also, to help you to debug problems like that, you can install the Debug Bar and the Debug Bar ElasticPress plugins. With both installed and active, you'll see a "Debug" link in your admin bar, clicking on that you'll see available an "ElasticPress" option. That will show you the query sent and the response returned.

github-actions[bot] commented 3 years ago

This issue has been automatically closed because there has been no response to our request for more information. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further. See this blog post on bug reports and the importance of repro steps for more information about the kind of information that may be helpful.