{ "info": { "author": "bloopark systems GmbH & Co. KG, Eficent, Serpent CS, Odoo Community Association (OCA)", "author_email": "support@odoo-community.org", "bugtrack_url": null, "classifiers": [ "Framework :: Odoo", "License :: OSI Approved :: GNU Affero General Public License v3", "Programming Language :: Python" ], "description": "============\nFuzzy Search\n============\n\n.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n !! This file is generated by oca-gen-addon-readme !!\n !! changes will be overwritten. !!\n !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n\n.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png\n :target: https://odoo-community.org/page/development-status\n :alt: Beta\n.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png\n :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html\n :alt: License: AGPL-3\n.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fserver--tools-lightgray.png?logo=github\n :target: https://github.com/OCA/server-tools/tree/11.0/base_search_fuzzy\n :alt: OCA/server-tools\n.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png\n :target: https://translation.odoo-community.org/projects/server-tools-11-0/server-tools-11-0-base_search_fuzzy\n :alt: Translate me on Weblate\n.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png\n :target: https://runbot.odoo-community.org/runbot/149/11.0\n :alt: Try me on Runbot\n\n|badge1| |badge2| |badge3| |badge4| |badge5| \n\nThis addon provides the ability to create GIN or GiST indexes of char and text\nfields and also to use the search operator `%` in search domains. Currently\nthis module doesn't change the backend search or anything else. It provides\nonly the possibilty to perfrom the fuzzy search for external addons.\n\n**Table of contents**\n\n.. contents::\n :local:\n\nInstallation\n============\n\n#. The PostgreSQL extension ``pg_trgm`` should be available. In debian based\n distribution you have to install the `postgresql-contrib` module.\n#. Install the ``pg_trgm`` extension to your database or give your postgresql\n user the ``SUPERUSER`` right (this allows the odoo module to install the\n extension to the database).\n\nConfiguration\n=============\n\nIf the odoo module is installed:\n\n#. You can define ``GIN`` and ``GiST`` indexes for `char` and `text` via\n `Settings -> Database Structure -> Trigram Index`. The index name will\n automatically created for new entries.\n\nUsage\n=====\n\n#. You can create an index for the `name` field of `res.partner`.\n#. In the search you can use:\n\n ``self.env['res.partner'].search([('name', '%', 'Jon Miller)])``\n\n#. In this example the function will return positive result for `John Miller`\n or `John Mill`.\n\n#. You can tweak the number of strings to be returned by adjusting the set\n limit (default: 0.3). NB: Currently you have to set the limit by executing\n the following SQL statment:\n\n ``self.env.cr.execute(\"SELECT set_limit(0.2);\")``\n\n#. Another interesting feature is the use of ``similarity(column, 'text')``\n function in the ``order`` parameter to order by similarity. This module just\n contains a basic implementation which doesn't perform validations and has to\n start with this function. For example you can define the function as\n followed:\n\n ``similarity(%s.name, 'John Mil') DESC\" % self.env['res.partner']._table``\n\nFor further questions read the Documentation of the\n`pg_trgm `_ module.\n\nKnown issues / Roadmap\n======================\n\n* Modify the general search parts (e.g. in tree view or many2one fields)\n* Add better `order by` handling\n\nBug Tracker\n===========\n\nBugs are tracked on `GitHub Issues `_.\nIn case of trouble, please check there if your issue has already been reported.\nIf you spotted it first, help us smashing it by providing a detailed and welcomed\n`feedback `_.\n\nDo not contact contributors directly about support or help with technical issues.\n\nCredits\n=======\n\nAuthors\n~~~~~~~\n\n* bloopark systems GmbH & Co. KG\n* Eficent\n* Serpent CS\n\nContributors\n~~~~~~~~~~~~\n\n* Christoph Giesel \n* Jordi Ballester \n* Serpent Consulting Services Pvt. Ltd. \n* Dave Lasley \n* Vicent Cubells \n\nMaintainers\n~~~~~~~~~~~\n\nThis module is maintained by the OCA.\n\n.. image:: https://odoo-community.org/logo.png\n :alt: Odoo Community Association\n :target: https://odoo-community.org\n\nOCA, or the Odoo Community Association, is a nonprofit organization whose\nmission is to support the collaborative development of Odoo features and\npromote its widespread use.\n\nThis module is part of the `OCA/server-tools `_ project on GitHub.\n\nYou are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://odoo-community.org/", "keywords": "", "license": "AGPL-3", "maintainer": "", "maintainer_email": "", "name": "odoo11-addon-base-search-fuzzy", "package_url": "https://pypi.org/project/odoo11-addon-base-search-fuzzy/", "platform": "", "project_url": "https://pypi.org/project/odoo11-addon-base-search-fuzzy/", "project_urls": { "Homepage": "https://odoo-community.org/" }, "release_url": "https://pypi.org/project/odoo11-addon-base-search-fuzzy/11.0.1.0.0.99.dev5/", "requires_dist": [ "odoo (<11.1dev,>=11.0a)" ], "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*", "summary": "Fuzzy search with the PostgreSQL trigram extension", "version": "11.0.1.0.0.99.dev5" }, "last_serial": 5605135, "releases": { "11.0.1.0.0.99.dev1": [ { "comment_text": "", "digests": { "md5": "bf959f84c85873ef10ab7c541d7cb395", "sha256": "9cbf47f9897fea6842e640faab5d29512232e410e07414215642af9bdbf67ccd" }, "downloads": -1, "filename": "odoo11_addon_base_search_fuzzy-11.0.1.0.0.99.dev1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "bf959f84c85873ef10ab7c541d7cb395", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*", "size": 118705, "upload_time": "2018-06-13T04:44:23", "url": "https://files.pythonhosted.org/packages/ad/e1/ad0b30c09b03abd973cdc542ad1c9c8cedd5b6795ba9e06b3d29d277b45a/odoo11_addon_base_search_fuzzy-11.0.1.0.0.99.dev1-py2.py3-none-any.whl" } ], "11.0.1.0.0.99.dev2": [ { "comment_text": "", "digests": { "md5": "f971880705800d8aebd89172bf3e144c", "sha256": "e2a5c81417b0100d2ea30acaae5a735f77754cbeb4a13b30b443e3a305dc9a50" }, "downloads": -1, "filename": "odoo11_addon_base_search_fuzzy-11.0.1.0.0.99.dev2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "f971880705800d8aebd89172bf3e144c", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*", "size": 121309, "upload_time": "2018-06-18T04:46:18", "url": "https://files.pythonhosted.org/packages/26/f1/8431e890afe2f8112e3677a1b23d7e61d4dd293c5e8bae77d7b365493e9e/odoo11_addon_base_search_fuzzy-11.0.1.0.0.99.dev2-py2.py3-none-any.whl" } ], "11.0.1.0.0.99.dev3": [ { "comment_text": "", "digests": { "md5": "e52bfe6a8b1aaa1929a0b3d3d903a9b0", "sha256": "f836c5a44a6df095658efa2d59194752c09304f1b80fc4db62cb339b23deffd9" }, "downloads": -1, "filename": "odoo11_addon_base_search_fuzzy-11.0.1.0.0.99.dev3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "e52bfe6a8b1aaa1929a0b3d3d903a9b0", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*", "size": 121890, "upload_time": "2018-06-21T04:50:49", "url": "https://files.pythonhosted.org/packages/a3/f4/f548520a9d32a4a811f9b226aecec1ee0f9146ca0f319c083643abf9153a/odoo11_addon_base_search_fuzzy-11.0.1.0.0.99.dev3-py2.py3-none-any.whl" } ], "11.0.1.0.0.99.dev4": [ { "comment_text": "", "digests": { "md5": "9bf6049e1f40b3b88857d4217a237adf", "sha256": "b6660acc5f5ca55391ee0aefc14b00e23d50272bd0623d8d33d47e9271d6af8d" }, "downloads": -1, "filename": "odoo11_addon_base_search_fuzzy-11.0.1.0.0.99.dev4-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "9bf6049e1f40b3b88857d4217a237adf", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*", "size": 128237, "upload_time": "2019-04-03T05:39:39", "url": "https://files.pythonhosted.org/packages/59/e9/873c01b0374c364221bc5859d763e551b4ee3af562fabae339e74002fca2/odoo11_addon_base_search_fuzzy-11.0.1.0.0.99.dev4-py2.py3-none-any.whl" } ], "11.0.1.0.0.99.dev5": [ { "comment_text": "", "digests": { "md5": "da0de4247d0cf685a402eb75584f86bd", "sha256": "909b26a767e3f4e344b9b0b25dd65e6d03974a3d4d35a310a9311492ceebd548" }, "downloads": -1, "filename": "odoo11_addon_base_search_fuzzy-11.0.1.0.0.99.dev5-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "da0de4247d0cf685a402eb75584f86bd", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*", "size": 128235, "upload_time": "2019-07-30T05:38:01", "url": "https://files.pythonhosted.org/packages/e0/08/ec23644b3e1a21caabff2646dac948d07f66803a77735f75e899d22e3b78/odoo11_addon_base_search_fuzzy-11.0.1.0.0.99.dev5-py2.py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "da0de4247d0cf685a402eb75584f86bd", "sha256": "909b26a767e3f4e344b9b0b25dd65e6d03974a3d4d35a310a9311492ceebd548" }, "downloads": -1, "filename": "odoo11_addon_base_search_fuzzy-11.0.1.0.0.99.dev5-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "da0de4247d0cf685a402eb75584f86bd", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*", "size": 128235, "upload_time": "2019-07-30T05:38:01", "url": "https://files.pythonhosted.org/packages/e0/08/ec23644b3e1a21caabff2646dac948d07f66803a77735f75e899d22e3b78/odoo11_addon_base_search_fuzzy-11.0.1.0.0.99.dev5-py2.py3-none-any.whl" } ] }