Bug 23470 - Elasticsearch - OpacSuppression not implemented in search result
Summary: Elasticsearch - OpacSuppression not implemented in search result
Status: RESOLVED DUPLICATE of bug 23676
Alias: None
Product: Koha
Classification: Unclassified
Component: Searching - Elasticsearch (show other bugs)
Version: Main
Hardware: All All
: P5 - low major (vote)
Assignee: Bugs List
QA Contact:
URL:
Keywords:
Depends on: 16660
Blocks:
  Show dependency treegraph
 
Reported: 2019-08-16 19:38 UTC by Marjorie Barry-Vila
Modified: 2020-01-10 13:48 UTC (History)
9 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments
OpacSuppression System preferences settings (35.91 KB, image/png)
2019-09-30 14:59 UTC, Caroline Cyr La Rose
Details
9XX fields of suppressed record (30.00 KB, image/png)
2019-09-30 15:00 UTC, Caroline Cyr La Rose
Details
Record appears in search results (no.4) (61.57 KB, image/png)
2019-09-30 15:01 UTC, Caroline Cyr La Rose
Details
Blocked message appears when record is clicked (5.43 KB, image/png)
2019-09-30 15:02 UTC, Caroline Cyr La Rose
Details
ES configuration for "suppress" (16.27 KB, image/png)
2019-09-30 15:05 UTC, Caroline Cyr La Rose
Details
ES configuration for "suppress" (biblio) (45.66 KB, image/png)
2019-09-30 15:06 UTC, Caroline Cyr La Rose
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marjorie Barry-Vila 2019-08-16 19:38:40 UTC
Hi,

Records suppressed with OpacSuppression are always displayed in search result with ElasticSearch.

If I try to consult the record in detailed view, the blocking message appears however.

I read here https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16660#c1 :
NB: OPAC suppression is not implemented for Elasticsearch

Anyone work on it?

Regards,
Marjorie
Comment 1 Katrin Fischer 2019-08-17 06:03:47 UTC
Linking this to a bug that seems to have implemented the correct behaviour, looks like this might be a regression.
Comment 2 Katrin Fischer 2019-08-17 06:06:09 UTC
Updating to a bug for now, because if it is a regression, that would be quite bad. Still should be confirmed with further testing.
Comment 3 Nick Clemens 2019-08-19 13:58:19 UTC
Hi Marjorie,

I cannot recreate this, can you please give some example records and let me know your settings?

-Nick
Comment 4 Caroline Cyr La Rose 2019-09-30 14:59:01 UTC
Created attachment 93325 [details]
OpacSuppression System preferences settings
Comment 5 Caroline Cyr La Rose 2019-09-30 15:00:26 UTC
Created attachment 93326 [details]
9XX fields of suppressed record
Comment 6 Caroline Cyr La Rose 2019-09-30 15:01:44 UTC
Created attachment 93327 [details]
Record appears in search results (no.4)
Comment 7 Caroline Cyr La Rose 2019-09-30 15:02:31 UTC
Created attachment 93328 [details]
Blocked message appears when record is clicked
Comment 8 Caroline Cyr La Rose 2019-09-30 15:05:27 UTC
Created attachment 93329 [details]
ES configuration for "suppress"
Comment 9 Caroline Cyr La Rose 2019-09-30 15:06:12 UTC
Created attachment 93330 [details]
ES configuration for "suppress" (biblio)
Comment 10 Caroline Cyr La Rose 2019-09-30 15:08:41 UTC
Nick, I uploaded a bunch of screen shots from Collecto's ES test instance. Let me know if you need anything else.
Comment 11 Katrin Fischer 2019-10-07 21:07:16 UTC
Hi Caroline, I think if it works for for Nick but not for you, we need to look for the difference...

What version of Koha are they running?
Is there a way to confirm that the suppress index is configured and filled?
Comment 12 Caroline Cyr La Rose 2019-10-08 13:48:52 UTC
Koha version 18.05.03 is the one I tested on. I don't have a master version with ES.

I attached screen captures that show the suppress index configuration. Where else should I look?
Comment 13 Marjorie Barry-Vila 2019-11-06 15:13:22 UTC
(In reply to Katrin Fischer from comment #11)
> Hi Caroline, I think if it works for for Nick but not for you, we need to
> look for the difference...
> 
> What version of Koha are they running?
> Is there a way to confirm that the suppress index is configured and filled?

Hi Katrin,

Have you been able to watch Caroline's last comment?
I have another client reporting the same problem and everything seems well configured for the suppress index.

Regards,
Marjorie
Comment 14 Katrin Fischer 2019-11-06 17:38:53 UTC
(In reply to Marjorie Barry-Vila from comment #13)
> (In reply to Katrin Fischer from comment #11)
> > Hi Caroline, I think if it works for for Nick but not for you, we need to
> > look for the difference...
> > 
> > What version of Koha are they running?
> > Is there a way to confirm that the suppress index is configured and filled?
> 
> Hi Katrin,
> 
> Have you been able to watch Caroline's last comment?
> I have another client reporting the same problem and everything seems well
> configured for the suppress index.
> 
> Regards,
> Marjorie

Hi Marjorie, I am actually not a Elasticsearch expert, but have tried to help narrow it down and get he experts to take a look. Last I had talked to Nick in Marseille about it - adding both Nick and Ere in hope they have a minute and some new ideas.
Comment 15 Jonathan Druart 2020-01-10 13:48:21 UTC

*** This bug has been marked as a duplicate of bug 23676 ***