Fuzzy Search

base_search_fuzzy
REPOSITORY
REPOSITORYOCA/server-tools
GIT
GIThttps://github.com/OCA/server-tools.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/server-tools/tree/19.0/base_search_fuzzy
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYUncategorized
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ForgeFlow, Serpent CS, bloopark systems GmbH & Co. KG
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ForgeFlow, Serpent CS, bloopark systems GmbH & Co. KG
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, Don Kendall, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/server-tools
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:40:46
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
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 IDNameModelTypeStatus
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 field Inherits base.view_res_partner_filter
Models touched (1)

New fields (4)
  • field_id Many2one → ir.model.fields
    comodel_name='ir.model.fields' help='You can either select a field of type "text" or "char".' ondelete='set default' required=True string='Field'
  • index_name Char
    help='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_type Selection
    default='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=True selection=[('gin', 'GIN'), ('gist', 'GiST')]
  • lang Selection
    help='You will need one index per installed language.' string='Language' args: _lang_get
Public methods (5)
  • 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)
REPOSITORY
REPOSITORYOCA/server-tools
GIT
GIThttps://github.com/OCA/server-tools.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/server-tools/tree/18.0/base_search_fuzzy
VERSION
VERSION 2.0.0
CATEGORY
CATEGORYUncategorized
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ForgeFlow, Serpent CS, bloopark systems GmbH & Co. KG
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ForgeFlow, Serpent CS, bloopark systems GmbH & Co. KG
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, Yannick Payot, map-240221
WEBSITE
WEBSITEhttps://github.com/OCA/server-tools
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:30:08
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
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 IDNameModelTypeStatus
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 field Inherits base.view_res_partner_filter
Models touched (1)

New fields (4)
  • field_id Many2one → ir.model.fields
    comodel_name='ir.model.fields' help='You can either select a field of type "text" or "char".' ondelete='set default' required=True string='Field'
  • index_name Char
    help='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_type Selection
    default='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=True selection=[('gin', 'GIN'), ('gist', 'GiST')]
  • lang Selection
    help='You will need one index per installed language.' string='Language' args: _lang_get
Public methods (5)
  • 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)
REPOSITORY
REPOSITORYOCA/server-tools
GIT
GIThttps://github.com/OCA/server-tools.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/server-tools/tree/17.0/base_search_fuzzy
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYUncategorized
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ForgeFlow, Serpent CS, bloopark systems GmbH & Co. KG
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ForgeFlow, Serpent CS, bloopark systems GmbH & Co. KG
COMMITTERS
COMMITTERSCarlos Lopez, Weblate, OCA-git-bot, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/server-tools
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:20:01
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
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 IDNameModelTypeStatus
trgm_index_view_form trgm.index.view.form trgm.index form New
trgm_index_view_tree trgm.index.view.tree trgm.index tree New
view_res_partner_filter res.partner field Inherits base.view_res_partner_filter
Models touched (1)

New fields (3)
  • field_id Many2one → ir.model.fields
    comodel_name='ir.model.fields' help='You can either select a field of type "text" or "char".' ondelete='set default' required=True string='Field'
  • index_name Char
    help='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_type Selection
    default='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=True selection=[('gin', 'GIN'), ('gist', 'GiST')]
Public methods (5)
  • 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)
REPOSITORY
REPOSITORYOCA/server-tools
GIT
GIThttps://github.com/OCA/server-tools.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/server-tools/tree/16.0/base_search_fuzzy
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYUncategorized
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ForgeFlow, Serpent CS, bloopark systems GmbH & Co. KG
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ForgeFlow, Serpent CS, bloopark systems GmbH & Co. KG
COMMITTERS
COMMITTERSDaniel Reis, Weblate, OCA-git-bot, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/server-tools
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:53:53
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
trgm_index_view_form trgm.index.view.form trgm.index form New
trgm_index_view_tree trgm.index.view.tree trgm.index tree New
view_res_partner_filter res.partner field Inherits base.view_res_partner_filter
Models touched (1)

New fields (3)
  • field_id Many2one → ir.model.fields
    comodel_name='ir.model.fields' help='You can either select a field of type "text" or "char".' ondelete='set default' required=True string='Field'
  • index_name Char
    help='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_type Selection
    default='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=True selection=[('gin', 'GIN'), ('gist', 'GiST')]
Public methods (5)
  • 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)
REPOSITORY
REPOSITORYOCA/server-tools
GIT
GIThttps://github.com/OCA/server-tools.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/server-tools/tree/15.0/base_search_fuzzy
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYUncategorized
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ForgeFlow, Serpent CS, bloopark systems GmbH & Co. KG
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ForgeFlow, Serpent CS, bloopark systems GmbH & Co. KG
COMMITTERS
COMMITTERSOCA Transbot, Weblate, OCA-git-bot, oca-ci, Eduardo De Miguel, josep-tecnativa
WEBSITE
WEBSITEhttps://github.com/OCA/server-tools
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:46:39
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
trgm_index_view_form trgm.index.view.form trgm.index form New
trgm_index_view_tree trgm.index.view.tree trgm.index tree New
view_res_partner_filter res.partner field Inherits base.view_res_partner_filter
Models touched (1)

New fields (3)
  • field_id Many2one → ir.model.fields
    comodel_name='ir.model.fields' help='You can either select a field of type "text" or "char".' ondelete='set default' required=True string='Field'
  • index_name Char
    help='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_type Selection
    default='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=True selection=[('gin', 'GIN'), ('gist', 'GiST')]
Public methods (5)
  • create(self, vals)
    @api.model
  • 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)
REPOSITORY
REPOSITORYOCA/server-tools
GIT
GIThttps://github.com/OCA/server-tools.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/server-tools/tree/14.0/base_search_fuzzy
VERSION
VERSION 1.0.3
CATEGORY
CATEGORYUncategorized
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ForgeFlow, Serpent CS, bloopark systems GmbH & Co. KG
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ForgeFlow, Serpent CS, bloopark systems GmbH & Co. KG
COMMITTERS
COMMITTERSPedro M. Baeza, Enric Tobella, tafaRU, OCA Transbot, oca-travis, Weblate, OCA-git-bot, oca-ci, oca-git-bot, Moises Lopez moylop260@vauxoo.com, Areeb Siddiqi
WEBSITE
WEBSITEhttps://github.com/OCA/server-tools
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:41:06
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
trgm_index_view_form trgm.index.view.form trgm.index form New
trgm_index_view_tree trgm.index.view.tree trgm.index tree New
view_res_partner_filter res.partner field Inherits base.view_res_partner_filter
Models touched (1)

New fields (3)
  • field_id Many2one → ir.model.fields
    comodel_name='ir.model.fields' help='You can either select a field of type "text" or "char".' ondelete='set default' required=True string='Field'
  • index_name Char
    help='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 string='Index Name'
  • index_type Selection
    default='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=True selection=[('gin', 'GIN'), ('gist', 'GiST')] string='Index Type'
Public methods (5)
  • create(self, vals)
    @api.model
  • 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)
REPOSITORY
REPOSITORYOCA/server-tools
GIT
GIThttps://github.com/OCA/server-tools.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/server-tools/tree/13.0/base_search_fuzzy
VERSION
VERSION 1.0.2
CATEGORY
CATEGORYUncategorized
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ForgeFlow, Serpent CS, bloopark systems GmbH & Co. KG
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ForgeFlow, Serpent CS, bloopark systems GmbH & Co. KG
COMMITTERS
COMMITTERSStefan Rijnhart, Pedro M. Baeza, mreficent, OCA Transbot, Ernesto Tejeda, oca-travis, Weblate, OCA-git-bot
WEBSITE
WEBSITEhttps://github.com/OCA/server-tools
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:34:17
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
trgm_index_view_form trgm.index.view.form trgm.index form New
trgm_index_view_tree trgm.index.view.tree trgm.index tree New
view_res_partner_filter res.partner field Inherits base.view_res_partner_filter
Models touched (1)

New fields (3)
  • field_id Many2one → ir.model.fields
    comodel_name='ir.model.fields' help='You can either select a field of type "text" or "char".' required=True string='Field'
  • index_name Char
    help='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 string='Index Name'
  • index_type Selection
    default='gin' help='Cite from PostgreSQL documentation: "As a rule of thumb, a GIN index is faster to search than a GiST index, but slower to build or update; so GIN is better suited for static data and GiST for often-updated data."' required=True selection=[('gin', 'GIN'), ('gist', 'GiST')] string='Index Type'
Public methods (5)
  • create(self, vals)
    @api.model
  • 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)
REPOSITORY
REPOSITORYOCA/server-tools
GIT
GIThttps://github.com/OCA/server-tools.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/server-tools/tree/12.0/base_search_fuzzy
VERSION
VERSION 1.0.2
CATEGORY
CATEGORYUncategorized
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Eficent, Serpent CS, bloopark systems GmbH & Co. KG
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Eficent, Serpent CS, bloopark systems GmbH & Co. KG
COMMITTERS
COMMITTERSHolger Brunn, Pedro M. Baeza, OCA Transbot, oca-travis, Weblate, OCA-git-bot, ernesto
WEBSITE
WEBSITEhttps://github.com/OCA/server-tools
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:29:22
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
trgm_index_view_form trgm.index.view.form trgm.index form New
trgm_index_view_tree trgm.index.view.tree trgm.index tree New
Models touched (1)

New fields (3)
  • field_id Many2one → ir.model.fields
    comodel_name='ir.model.fields' help='You can either select a field of type "text" or "char".' required=True string='Field'
  • index_name Char
    help='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 string='Index Name'
  • index_type Selection
    default='gin' help='Cite from PostgreSQL documentation: "As a rule of thumb, a GIN index is faster to search than a GiST index, but slower to build or update; so GIN is better suited for static data and GiST for often-updated data."' required=True selection=[('gin', 'GIN'), ('gist', 'GiST')] string='Index Type'
Public methods (5)
  • create(self, vals)
    @api.model
  • create_index(self)
    @api.multi
  • get_not_used_index(self, index_name, table_name, inc=1)
    @api.model_cr
  • index_exists(self, model_name, field_name)
    @api.model
  • unlink(self)
    @api.multi
REPOSITORY
REPOSITORYOCA/server-tools
GIT
GIThttps://github.com/OCA/server-tools.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/server-tools/tree/11.0/base_search_fuzzy
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYUncategorized
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Eficent, Serpent CS, bloopark systems GmbH & Co. KG
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Eficent, Serpent CS, bloopark systems GmbH & Co. KG
COMMITTERS
COMMITTERSJairo Llopis, oca-travis, Weblate, OCA-git-bot, Tom Blauwendraat, OCA Git Bot
WEBSITE
WEBSITEhttps://github.com/OCA/server-tools
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:24:00
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
trgm_index_view_form trgm.index.view.form trgm.index form New
trgm_index_view_tree trgm.index.view.tree trgm.index tree New
Models touched (2)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (3)
  • field_id Many2one → ir.model.fields
    comodel_name='ir.model.fields' help='You can either select a field of type "text" or "char".' required=True string='Field'
  • index_name Char
    help='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 string='Index Name'
  • index_type Selection
    default='gin' help='Cite from PostgreSQL documentation: "As a rule of thumb, a GIN index is faster to search than a GiST index, but slower to build or update; so GIN is better suited for static data and GiST for often-updated data."' required=True selection=[('gin', 'GIN'), ('gist', 'GiST')] string='Index Type'
Public methods (5)
  • create(self, vals)
    @api.model
  • create_index(self)
    @api.multi
  • get_not_used_index(self, index_name, table_name, inc=1)
    @api.model_cr
  • index_exists(self, model_name, field_name)
    @api.model
  • unlink(self)
    @api.multi
REPOSITORY
REPOSITORYOCA/server-tools
GIT
GIThttps://github.com/OCA/server-tools.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/server-tools/tree/10.0/base_search_fuzzy
VERSION
VERSION 1.1.0
CATEGORY
CATEGORYUncategorized
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Eficent, Serpent CS, bloopark systems GmbH & Co. KG
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Eficent, Serpent CS, bloopark systems GmbH & Co. KG
COMMITTERS
COMMITTERSGitHub, Stéphane Bidoul (ACSONE), OCA Transbot, Graeme Gellatly, Emanuel Cino, Dave Lasley, oca-travis, Weblate, OCA-git-bot
WEBSITE
WEBSITEhttps://odoo-community.org/
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:20:00
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
trgm_index_view_form trgm.index.view.form trgm.index form New
trgm_index_view_tree trgm.index.view.tree trgm.index tree New
Models touched (2)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (3)
  • field_id Many2one → ir.model.fields
    comodel_name='ir.model.fields' help='You can either select a field of type "text" or "char".' required=True string='Field'
  • index_name Char
    help='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 string='Index Name'
  • index_type Selection
    default='gin' help='Cite from PostgreSQL documentation: "As a rule of thumb, a GIN index is faster to search than a GiST index, but slower to build or update; so GIN is better suited for static data and GiST for often-updated data."' required=True selection=[('gin', 'GIN'), ('gist', 'GiST')] string='Index Type'
Public methods (5)
  • create(self, vals)
    @api.model
  • create_index(self)
    @api.multi
  • get_not_used_index(self, index_name, table_name, inc=1)
    @api.model_cr
  • index_exists(self, model_name, field_name)
    @api.model
  • unlink(self)
    @api.multi
REPOSITORY
REPOSITORYOCA/server-tools
GIT
GIThttps://github.com/OCA/server-tools.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/server-tools/tree/9.0/base_search_fuzzy
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYUncategorized
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Eficent, Serpent CS, bloopark systems GmbH & Co. KG
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Eficent, Serpent CS, bloopark systems GmbH & Co. KG
COMMITTERS
COMMITTERSStéphane Bidoul (ACSONE), OCA Transbot, darshan-serpent, oca-travis, Weblate, OCA-git-bot
WEBSITE
WEBSITEhttps://odoo-community.org/
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:15:22
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
trgm_index_view_form trgm.index.view.form trgm.index form New
trgm_index_view_tree trgm.index.view.tree trgm.index tree New
Models touched (2)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (3)
  • field_id Many2one → ir.model.fields
    comodel_name='ir.model.fields' help='You can either select a field of type "text" or "char".' required=True string='Field'
  • index_name Char
    help='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 resused. If the index is located in another table then a number is added at the end of the index name.' readonly=True string='Index Name'
  • index_type Selection
    default='gin' help='Cite from PostgreSQL documentation: "As a rule of thumb, a GIN index is faster to search than a GiST index, but slower to build or update; so GIN is better suited for static data and GiST for often-updated data."' required=True selection=[('gin', 'GIN'), ('gist', 'GiST')] string='Index Type'
Public methods (5)
  • create(self, vals)
    @api.model
  • create_index(self)
    @api.multi
  • get_not_used_index(self, index_name, table_name, inc=1)
    @api.model
  • index_exists(self, model_name, field_name)
    @api.model
  • unlink(self)
    @api.multi
REPOSITORY
REPOSITORYOCA/server-tools
GIT
GIThttps://github.com/OCA/server-tools.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/server-tools/tree/8.0/base_search_fuzzy
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYUncategorized
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), bloopark systems GmbH & Co. KG
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), bloopark systems GmbH & Co. KG
COMMITTERS
COMMITTERSGitHub, Stéphane Bidoul (ACSONE), OCA Transbot, oca-travis, Weblate, OCA-git-bot, Christoph Giesel
WEBSITE
WEBSITEhttps://odoo-community.org/
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:11:25
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
trgm_index_view_form trgm.index.view.form trgm.index form New
trgm_index_view_tree trgm.index.view.tree trgm.index tree New
Models touched (2)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (3)
  • field_id Many2one → ir.model.fields
    comodel_name='ir.model.fields' help='You can either select a field of type "text" or "char".' required=True string='Field'
  • index_name Char
    help='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 resused. If the index is located in another table then a number is added at the end of the index name.' readonly=True string='Index Name'
  • index_type Selection
    default='gin' help='Cite from PostgreSQL documentation: "As a rule of thumb, a GIN index is faster to search than a GiST index, but slower to build or update; so GIN is better suited for static data and GiST for often-updated data."' required=True selection=[('gin', 'GIN'), ('gist', 'GiST')] string='Index Type'
Public methods (5)
  • create(self, vals)
    @api.model
  • create_index(self)
    @api.multi
  • get_not_used_index(self, index_name, table_name, inc=1)
    @api.model
  • index_exists(self, model_name, field_name)
    @api.model
  • unlink(self)
    @api.multi