Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1902781

Summary: Broken full text search in cyrus - please repackage with --enable-xapian
Product: Red Hat Enterprise Linux 8 Reporter: g.danti
Component: cyrus-imapdAssignee: Tomas Korbar <tkorbar>
Status: CLOSED ERRATA QA Contact: František Hrdina <fhrdina>
Severity: medium Docs Contact:
Priority: high    
Version: 8.2CC: daniel-oliveira, fhrdina, g.danti, hagedorn, jgamba, jorton, lmiksik, tkorbar
Target Milestone: rcKeywords: AutoVerified, Triaged
Target Release: 8.0Flags: pm-rhel: mirror+
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: cyrus-imapd-3.0.7-23.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1914735 2002730 (view as bug list) Environment:
Last Closed: 2021-11-09 18:50:17 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1918908    
Bug Blocks: 1914735, 1969483, 2002730    

Description g.danti 2020-11-30 16:23:05 UTC
Description of problem:
RedHat 8.x ships with cyrus-imapd version 3.0.x which has broken squat full-text search as per this github issue: https://github.com/cyrusimap/cyrus-imapd/issues/2598

The official recommendation is to use xapian to replace squat seach; however, the shipping packages is compiled *without* xapian support. Please repackage it enabling xapian search (--eneble-xapian).

Alternatively, please help upstream to fix squat indexes.

Version-Release number of selected component (if applicable):
3.0.7

How reproducible:
a) install cyrus-imapd, enable squat indexing, run squatter and try a full-text search: it will not be served by reading the squat file, rather a linear search will be issued (ie: no indexes are used).
b) disable squat and enable xapian, then run squatter - nothing will be really done (no index will be created) and searches remain slow.

Steps to Reproduce:
As above

Actual results:
Full text search are not working, resulting in linear search between all messages

Expected results:
An index (either squat or xapian) should be used to accelerate full text search

Additional info:

Comment 1 Pavel Zhukov 2020-12-01 05:38:58 UTC
Thank you for taking the time to report this issue to us. We appreciate the feedback and use reports such as this one to guide our efforts at improving our products. That being said, this bug tracking system is not a mechanism for requesting support, and we are not able to guarantee the timeliness or suitability of a resolution.

If this issue is critical or in any way time sensitive, please raise a ticket through the regular Red Hat support channels to ensure it receives the proper attention and prioritization to assure a timely resolution.

For information on how to contact the Red Hat production support team, please visit:
    https://access.redhat.com/support

Comment 3 g.danti 2020-12-01 07:37:57 UTC
Hi Pavel, this is not a support request.

The shipping cyrus-imapd packages has broken full text search because:
a) the squat index is not used;
b) xapian in not compiled it.

This means that anyone using cyrus on RHEL is going to suffer from the slow search speed, irrespective of its configuration.
Regards.

Comment 4 Daniel Oliveira 2020-12-17 19:15:51 UTC
Gentlemen, I have the same problem and another one with the RHEL 8 cyrus-imapd, I opened support case nº 02826543.

Comment 30 errata-xmlrpc 2021-11-09 18:50:17 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (cyrus-imapd bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2021:4301