Disable indexing of attachments
Project description
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:
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
Contributors
Moises López <moylop260@vauxoo.com>
Erick Birbe <erick@vauxoo.com>
Maintainers
This module is maintained by the OCA.
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:
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
File details
Details for the file odoo_addon_attachment_unindex_content-16.0.1.0.0.9-py3-none-any.whl
.
File metadata
- Download URL: odoo_addon_attachment_unindex_content-16.0.1.0.0.9-py3-none-any.whl
- Upload date:
- Size: 26.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c9ab72ebfcad420e1a087d1de573d7ecf0bc3c88ee38ec9f54a161d2ef9848a4 |
|
MD5 | 01bfc00a70d6ac54d934ac9a7bd4fb2b |
|
BLAKE2b-256 | 1eeb0a166fbe356feb1cba3707dc9dfd4e212b6aedf1a4b01d478caa95083417 |