{ "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/12.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-12-0/server-tools-12-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/12.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 possibility to perform 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 statement:\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\n* `Tecnativa `_:\n\n * Vicent Cubells\n * Ernesto Tejeda\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://github.com/OCA/server-tools", "keywords": "", "license": "AGPL-3", "maintainer": "", "maintainer_email": "", "name": "odoo12-addon-base-search-fuzzy", "package_url": "https://pypi.org/project/odoo12-addon-base-search-fuzzy/", "platform": "", "project_url": "https://pypi.org/project/odoo12-addon-base-search-fuzzy/", "project_urls": { "Homepage": "https://github.com/OCA/server-tools" }, "release_url": "https://pypi.org/project/odoo12-addon-base-search-fuzzy/12.0.1.0.0.99.dev7/", "requires_dist": [ "odoo (<12.1dev,>=12.0a)" ], "requires_python": ">=3.5", "summary": "Fuzzy search with the PostgreSQL trigram extension", "version": "12.0.1.0.0.99.dev7" }, "last_serial": 5766036, "releases": { "12.0.1.0.0.99.dev1": [ { "comment_text": "", "digests": { "md5": "71402ede5f23ae1a50410528f52b2b75", "sha256": "191dbbd2ff7c48950c78b025f815b4c9fae77385ab4c22a069f098859008c350" }, "downloads": -1, "filename": "odoo12_addon_base_search_fuzzy-12.0.1.0.0.99.dev1-py3-none-any.whl", "has_sig": false, "md5_digest": "71402ede5f23ae1a50410528f52b2b75", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5", "size": 118725, "upload_time": "2019-01-15T05:34:15", "url": "https://files.pythonhosted.org/packages/59/08/992c06f2709ba048badd3fade62a5aca31b0a302cc9cf39ae30631470bc2/odoo12_addon_base_search_fuzzy-12.0.1.0.0.99.dev1-py3-none-any.whl" } ], "12.0.1.0.0.99.dev2": [ { "comment_text": "", "digests": { "md5": "f2459f83d30322fc9cb7d882610a886f", "sha256": "a96ec768fbaf321c5a3e69ec6bc037fe8e674936eed66f4cb44f59c6b34c37f0" }, "downloads": -1, "filename": "odoo12_addon_base_search_fuzzy-12.0.1.0.0.99.dev2-py3-none-any.whl", "has_sig": false, "md5_digest": "f2459f83d30322fc9cb7d882610a886f", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5", "size": 118624, "upload_time": "2019-01-28T05:34:34", "url": "https://files.pythonhosted.org/packages/eb/91/f1cecaf4a04f1baa8bc0f546e6e4b67a7b1002cb5f7dded105dfecc381e7/odoo12_addon_base_search_fuzzy-12.0.1.0.0.99.dev2-py3-none-any.whl" } ], "12.0.1.0.0.99.dev3": [ { "comment_text": "", "digests": { "md5": "6e1b4d6500da61fe62c8ca3a41bfd54b", "sha256": "3b66b22f5b7633c60a69c3a0596eadde004c256ef91bb711b7503bfbb15308a9" }, "downloads": -1, "filename": "odoo12_addon_base_search_fuzzy-12.0.1.0.0.99.dev3-py3-none-any.whl", "has_sig": false, "md5_digest": "6e1b4d6500da61fe62c8ca3a41bfd54b", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5", "size": 128201, "upload_time": "2019-04-03T04:41:39", "url": "https://files.pythonhosted.org/packages/b5/a8/4fe1f70d2170b0de385a0a38c446000ff8f7a44f97b97c9ad1eca2f5586f/odoo12_addon_base_search_fuzzy-12.0.1.0.0.99.dev3-py3-none-any.whl" } ], "12.0.1.0.0.99.dev4": [ { "comment_text": "", "digests": { "md5": "6a671b60af2bd1a745edc1e9116d2a4c", "sha256": "6267542062e766c3bb4197762ee38703eb3b2240651c78a7cf6f92a486cfb168" }, "downloads": -1, "filename": "odoo12_addon_base_search_fuzzy-12.0.1.0.0.99.dev4-py3-none-any.whl", "has_sig": false, "md5_digest": "6a671b60af2bd1a745edc1e9116d2a4c", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5", "size": 128200, "upload_time": "2019-07-30T04:42:51", "url": "https://files.pythonhosted.org/packages/de/b4/7a21f1f3175374b0e0a5189fdcb86866531adcc4fc1bc145f46fc3412820/odoo12_addon_base_search_fuzzy-12.0.1.0.0.99.dev4-py3-none-any.whl" } ], "12.0.1.0.0.99.dev5": [ { "comment_text": "", "digests": { "md5": "bd2d91a85a3f3eb0e4f46cb589d65489", "sha256": "d045d664c0f44d20e198bea10825b7d8f5efbe46c81128783b4fad297c82a456" }, "downloads": -1, "filename": "odoo12_addon_base_search_fuzzy-12.0.1.0.0.99.dev5-py3-none-any.whl", "has_sig": false, "md5_digest": "bd2d91a85a3f3eb0e4f46cb589d65489", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5", "size": 128394, "upload_time": "2019-08-16T04:36:44", "url": "https://files.pythonhosted.org/packages/76/1b/9649d44409b0b066cf0fabed884dd7cf52a2b13a789f2c9185b87450024e/odoo12_addon_base_search_fuzzy-12.0.1.0.0.99.dev5-py3-none-any.whl" } ], "12.0.1.0.0.99.dev7": [ { "comment_text": "", "digests": { "md5": "95be4b49019f19427cc3f9b97e2db165", "sha256": "88c8abc3f8812a39a00f3bcda33df01541c5190e146fc96809800fcb3fb56e98" }, "downloads": -1, "filename": "odoo12_addon_base_search_fuzzy-12.0.1.0.0.99.dev7-py3-none-any.whl", "has_sig": false, "md5_digest": "95be4b49019f19427cc3f9b97e2db165", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5", "size": 129275, "upload_time": "2019-09-01T04:37:09", "url": "https://files.pythonhosted.org/packages/7a/c0/357429d6d689756f7dbe36c63fdbe6841d7cba70c51f5c0a2aa970f06a4e/odoo12_addon_base_search_fuzzy-12.0.1.0.0.99.dev7-py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "95be4b49019f19427cc3f9b97e2db165", "sha256": "88c8abc3f8812a39a00f3bcda33df01541c5190e146fc96809800fcb3fb56e98" }, "downloads": -1, "filename": "odoo12_addon_base_search_fuzzy-12.0.1.0.0.99.dev7-py3-none-any.whl", "has_sig": false, "md5_digest": "95be4b49019f19427cc3f9b97e2db165", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5", "size": 129275, "upload_time": "2019-09-01T04:37:09", "url": "https://files.pythonhosted.org/packages/7a/c0/357429d6d689756f7dbe36c63fdbe6841d7cba70c51f5c0a2aa970f06a4e/odoo12_addon_base_search_fuzzy-12.0.1.0.0.99.dev7-py3-none-any.whl" } ] }