Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Smart search: indexing of unpublished content #32458

Closed
peterhulst opened this issue Feb 18, 2021 · 5 comments
Closed

Smart search: indexing of unpublished content #32458

peterhulst opened this issue Feb 18, 2021 · 5 comments

Comments

@peterhulst
Copy link

Steps to reproduce the issue

Unpublish an article. Start a complete new indexing.
The indexing also processed unpublised articles.
However an unpublished article can only be found in case it is published again.
(i tried to excluded articles for the indexing by unpublishing before indexing, but that did not work.

Expected result

Unpublished articles (or concept articles) are not indexed, until they are published (again).

Actual result

Unpublished articles ar indexed

System information (as much as possible)

3.9.24

Additional comments

@richard67
Copy link
Member

@Hackwar Could you have a look on this?

@Hackwar
Copy link
Member

Hackwar commented Feb 19, 2021

Content should land in the index regardless of them being published or not. However the index should not show them in the search results if you don't have access to them. So unless you are logged in as a user with publishing privileges (for example Super Administrator), you shouldn't see them in the results in the frontend. Can you confirm that they do show up for you in the frontend?

@brianteeman
Copy link
Contributor

It was definitely a problem (a long time ago) that they appeared in the suggestions but I thought that was fixed.

@peterhulst
Copy link
Author

Thanks for replying.
When unpublished, it does not show in the search result. So that behaviour is as expected.

However: I had a problematic article for indexing, so I unpublished it. That did not help (the indexing was still problematic), so I was suprised

When inlogged in as a super user, it also does not show up in the search results when unpublished. So that behaviour is as NOT expected.

Regards,
Peter

@PhilETaylor

This comment was marked as abuse.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants