Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Beta License: AGPL-3 OCA/server-tools Translate me on Weblate Try me on Runboat

This module disables the indexation of attachments content.

Attachment model has a field called ‘index_content’ where the content of the attachment is read and stored directly in the database. This field is useful in order to search content of a file. But most of cases it is not used, so, you can install this module in order to:

  • Avoid Duplicating Data: Because indexation extracts text content from files and put it on the database in order it could be searched, but this implies you have the file data in your filestore directory, and also part (or sometimes all) of that data in your database too.

  • Improve Performance: Since not all indexed files are plain text, they require extra process to read them.

Maybe you could try to uninstall modules like document in order to disable its indexation features, but you could face the uninstallation of other modules that could be useful for you (e.g, hr_recruitment depends on that).

But even if you don’t have document installed, you’d still have plain text content indexation by default. As you can see in this SQL query results, indexation is active even without it:

SQL Query result showing indexed content

Using this module you will not require to uninstall any module to disable the attachment content indexation, because we directly disable it at ir.attachment base.

Also, after the installation, the index_content field on attachments already recorded in database will be cleared.

Table of contents

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed feedback.

Do not contact contributors directly about support or help with technical issues.

Credits

Authors

  • Vauxoo

Contributors

Maintainers

This module is maintained by the OCA.

Odoo Community Association

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

Current maintainers:

moylop260 ebirbe

This module is part of the OCA/server-tools project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

Release files for odoo11-addon-attachment-unindex-content 11.0.1.0.0.99.dev5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for odoo11-addon-attachment-unindex-content 11.0.1.0.0.99.dev5
File Interpreter ABI Platform
odoo11_addon_attachment_unindex_content-11.0.1.0.0.99.dev5-py2.py3-none-any.whl Python 2, Python 3 none any Details

Release files / odoo11_addon_attachment_unindex_content-11.0.1.0.0.99.dev5-py2.py3-none-any.whl

Download URL odoo11_addon_attachment_unindex_content-11.0.1.0.0.99.dev5-py2.py3-none-any.whl
Size 25.3 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
9528dde8e42f99f14c244bce57d53d09e689c6556f31e48ec3bd1929739eacfd
BLAKE2b-256 checksum
How to use checksums
95899882c737e39b05f2d1a26253ed7ef0241027774c874a475dc26bc7f9de52
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.8.5
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page