# Fuzzy Search of URL in Attachments

This module creates a trigram index for the field url in ir_attachment in order to make more efficient sql searches with like operand and this field. In large dbs it can speed up a lot interface loading, for example when logging in.

Table of contents

- Installation
- Configuration
- Bug Tracker
- Credits
  - Authors
  - Contributors
  - Maintainers

# Installation

(same as the base module)

1. The PostgreSQL extension `pg_trgm` should be available. In debian based distribution you have to install the postgresql-contrib module.
2. Install the `pg_trgm` extension to your database or give your postgresql user the `SUPERUSER` right (this allows the odoo module to install the extension to the database).

# Configuration

You just have to install this module and the Index for ‘url’ field in ir_attachment model will be automatically created.

# 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

- ForgeFlow

## Contributors

ForgeFlow:
  - Maria de Luna <maria.de.luna@forgeflow.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 maintainer:

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.