10up / ElasticPress

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

How to properly configure Protected Content for selfhosting? #3899

Closed rstrah closed 4 months ago

rstrah commented 5 months ago

Now, when you turn on this function, the search also shows unpublished materials, how can I fix this?

I expected from this function that it would speed up the search in the admin area (not public materials). As a result, I get visibility of them for everyone

Code of Conduct

felipeelia commented 5 months ago

@rstrah, that is not how the feature behaves with a fresh install. A couple of questions that might help you debug the problem:

  1. Are you getting the same results for logged and non-logged-in users?
  2. Do you have any custom code that tweaks the main WP_Query object?
rstrah commented 5 months ago

@felipeelia , hi 1) Yes 2) No

github-actions[bot] commented 5 months ago

It has been 3 days since more information was requested from you in this issue and we have not heard back. This issue is now marked as stale and will be closed in 3 days, but if you have more information to add then please comment and the issue will stay open.

rstrah commented 5 months ago

I have a problem

felipeelia commented 5 months ago

@rstrah, when you say it is display things it should not, you mean they are password protected, they are part of a custom post type or something different?

rstrah commented 5 months ago

Post not released yet (planned/draft)

github-actions[bot] commented 4 months ago

It has been 3 days since more information was requested from you in this issue and we have not heard back. This issue is now marked as stale and will be closed in 3 days, but if you have more information to add then please comment and the issue will stay open.

github-actions[bot] commented 4 months ago

This issue has been automatically closed because there has been no response to our request for more information in the past 3 days. With only the information that is currently available, we are unable to take further action on this ticket. Please reach out if you have found or find the answer we need so that we can investigate further. When the information is ready, you can re-open this ticket to share it with us.