Facets result count is wrong

Created on 8 April 2021, about 3 years ago
Updated 12 June 2023, about 1 year ago

I used taxonomy terms to create facets. Some users having permission to view unpublished nodes(logged in users). So i created view and showing both published and un published nodes. Each facets shows a result count. Here problem is when anonymous user sees, facets still shows same count. For anonymous users unpublished nodes are not showing in view result. But in facets count it shows both published and unpublished nodes count

🐛 Bug report
Status

Active

Version

1.7

Component

Code

Created by

🇮🇳India drupal-ramesh

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇨🇦Canada joseph.olstad

    @idebr "Skip item access checks" did not seem to change the output.

    The views total exceeds what the facets count is.

  • 🇫🇷France steveoriol Grenoble 🇫🇷

    I have the same problem, I have media that can only be seen by certain users, the solr view works with the right access, but the facets always show the full number of results without being filtered by the permissions of the connected user.
    So the search results view can be empty while the facets are available, which is quite annoying.
    I've also noticed the same problem with the autocomplete module (search_api_autocomplete), which displays the total number of results (without checking access to the documents) as if it were user 1 doing the search...

Production build 0.69.0 2024