TIP: You can type at any time to perform a new search.
Fuzzy Search
base_search_fuzzy · OCA/server-tools
Security findings
- Repository
- OCA/server-tools · module folder · Try on Runboat
- Module version
- 1.0.0
- Category
- Uncategorized
- Folder size
- 0.34 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/server-tools
- Last tracking update
- 2026-09-12 11:26:57
- Authors
- Odoo Community Association (OCA), bloopark systems GmbH & Co. KG, Serpent CS, ForgeFlow
- Maintainers
- Odoo Community Association (OCA), bloopark systems GmbH & Co. KG, Serpent CS, ForgeFlow
- Committers
- Don Kendall, Weblate, OCA-git-bot, oca-ci
- Odoo dependencies
-
odoo/odoo:- base
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
- Description
This addon provides the ability to create GIN or GiST indexes of char and text fields and also to use the search operator % in search domains. Currently this module doesn't change the backend search or anything else. It provides only the possibility to perform the fuzzy search for external addons.
Code Analysis
Views touched (3)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
trgm_index_view_form |
trgm.index.view.form | trgm.index | form | New |
trgm_index_view_tree |
trgm.index.view.tree | trgm.index | list | New |
view_res_partner_filter |
res.partner | Inherits base.view_res_partner_filter |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (1)
New fields (4)
-
field_idMany2one → ir.model.fieldscomodel_name='ir.model.fields'help='You can either select a field of type "text" or "char".'ondelete='set default'required=Truestring='Field' -
index_nameCharhelp='The index name is automatically generated like fieldname_indextype_idx. If the index already exists and the index is located in the same table then this index is reused. If the index is located in another table then a number is added at the end of the index name.'readonly=True -
index_typeSelectiondefault='gin'help='Cite from PostgreSQL documentation: GIN indexes are the preferred text search index type.See: https://www.postgresql.org/docs/current/textsearch-indexes.html'ondelete={'gin': 'set default', 'gist': 'set default'}required=Trueselection=[('gin', 'GIN'), ('gist', 'GiST')] -
langSelectionhelp='You will need one index per installed language.'string='Language' args: _lang_get
-
create(self, vals_list)@api.model_create_multi -
create_index(self) -
get_not_used_index(self, index_name, table_name, inc=1) -
index_exists(self, model_name, field_name)@api.model -
unlink(self)
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…