{ "info": { "author": "Tom Fay", "author_email": "tom@teamfay.co.uk", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "License :: OSI Approved :: GNU Affero General Public License v3", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5" ], "description": "Search plugin for GNU Mediagoblin\n###############\n\n|license_badge| |pypi_badge| |version_badge|\n|status_badge|\n\n.. |license_badge| image:: https://img.shields.io/pypi/l/mediagoblin-indexedsearch.svg\n :target: https://en.wikipedia.org/wiki/Affero_General_Public_License\n\n.. |pypi_badge| image:: https://img.shields.io/pypi/v/mediagoblin-indexedsearch.svg\n :target: https://pypi.python.org/pypi/mediagoblin-indexedsearch\n\n.. |version_badge| image:: https://img.shields.io/pypi/pyversions/mediagoblin-indexedsearch.svg\n :target: https://pypi.python.org/pypi/mediagoblin-indexedsearch\n\n.. |status_badge| image:: https://img.shields.io/pypi/status/mediagoblin-indexedsearch.svg\n :target: https://pypi.python.org/pypi/mediagoblin-indexedsearch\n\n.. |status_badge| image:: https://img.shields.io/pypi/status/mediagoblin-indexedsearch.svg\n :target: https://pypi.python.org/pypi/mediagoblin-indexedsearch\n\n.. END_BADGES_TAG\n\nN.B Only works with mediagoblin 0.9.0 and later.\n\n``mediagoblin-indexedsearch`` is a plugin for GNU Mediagoblin that adds support for searching media.\n\nBy default, the search function will query the tags, title and description fields\nof media for the given phrase.\n\nMore complex queries are supported, e.g searching for media with tagged with \"hello\"\nand not tagged with \"goodbye\" (tag:hello -tag:goodbye), or searching for any\nmedia added by the user \"tom\" (user:tom).\n\n(See http://whoosh.readthedocs.org/en/latest/querylang.html for more syntax info.)\n\nThis plugin is based on an existing search plugin, https://github.com/ayleph/mediagoblin-basicsearch/,\nbut uses a search index for queries.\n\n.. END_DESCRIPTION_TAG\n\n\nSetting up the search plugin\n===========================\n\nCheckout this repository with::\n\n git clone https://github.com/tofay/mediagoblin-indexedsearch.git\n\nThen install the plugin into your virtualenv for mediagoblin::\n\n cd mediagoblin-indexedsearch/\n /path/to/mediagoblin/bin/python setup.py install\n\n\nEnable the plugin by adding the following line to the ``[plugins]`` section of your mediagoblin config file.\n\n[[indexedsearch]]\n\n\nThe following parameters can be specified in the indexedsearch section of your mediagoblin\nconfig file:\n\nSEARCH_LINK_STYLE = 'link'\n\nSpecifies the style of the search link that is added to the top header bar of the MediaGoblin instance.\nThe options for the search link display style are:\n\n* ``form`` displays a search form next to the Log In link. This is the default display style.\n* ``link`` displays a normal text link next to the Log In link.\n* ``button`` displays an action button link next to the Log In link.\n* ``none`` does not display a link. This is useful if you want to create your own search link in a user_dev template or custom theme.\n\nINDEX_DIR = '/path/to/index/directory'\n\nSpecifies the directory in which the plugin will create a search index (the plugin will\ncreate the directory if it doesn't exist, assuming correct permissions etc.). By default the index\nwill be created in /path/to/mediagoblin/user_dev/searchindex.\n\nUSERS_ONLY = True\n\nSpecifies whether or not searching for content requires being logged-in. Defaults to True.\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/tofay/mediagoblin-indexedsearch", "keywords": "", "license": "AGPLv3", "maintainer": "", "maintainer_email": "", "name": "mediagoblin-indexedsearch", "package_url": "https://pypi.org/project/mediagoblin-indexedsearch/", "platform": "", "project_url": "https://pypi.org/project/mediagoblin-indexedsearch/", "project_urls": { "Homepage": "https://github.com/tofay/mediagoblin-indexedsearch" }, "release_url": "https://pypi.org/project/mediagoblin-indexedsearch/0.1.1/", "requires_dist": null, "requires_python": "", "summary": "A search plugin for GNU mediagoblin.", "version": "0.1.1" }, "last_serial": 3040013, "releases": { "0.1.1": [ { "comment_text": "", "digests": { "md5": "ae6c2d1731e00592de724dad4ed90236", "sha256": "1c0390a72b7e8017114d014591a8871f9364d7bef564745ddf1047be9be839f6" }, "downloads": -1, "filename": "mediagoblin_indexedsearch-0.1.1-py2-none-any.whl", "has_sig": false, "md5_digest": "ae6c2d1731e00592de724dad4ed90236", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 22581, "upload_time": "2017-07-21T18:18:11", "url": "https://files.pythonhosted.org/packages/83/33/a2d8fcae04037522136d9b1d427954998afbce740424f805cb9fd153045c/mediagoblin_indexedsearch-0.1.1-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "72c6b27d7e8707beabf0facf8dc1bda3", "sha256": "111a67a00c967382ded1d50066af94b8b28677fc8e2c36b2c0e625e97176ca78" }, "downloads": -1, "filename": "mediagoblin_indexedsearch-0.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "72c6b27d7e8707beabf0facf8dc1bda3", "packagetype": "bdist_wheel", "python_version": "3.6", "requires_python": null, "size": 22581, "upload_time": "2017-07-21T18:16:22", "url": "https://files.pythonhosted.org/packages/2d/20/10afd876c2aa6a6033d7cee3f0fa8bc2fe97e8519d03003402ea2a58139b/mediagoblin_indexedsearch-0.1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "71210c35e8889c9f26f6b0d424fd0b90", "sha256": "415b529ef2b49d155b424f50cccfeebcf9c688e1622231f2f7b9d5ed2a7789d4" }, "downloads": -1, "filename": "mediagoblin-indexedsearch-0.1.1.tar.gz", "has_sig": false, "md5_digest": "71210c35e8889c9f26f6b0d424fd0b90", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10448, "upload_time": "2017-07-21T18:14:16", "url": "https://files.pythonhosted.org/packages/ff/c9/5117716272d08b1f30a59d6f7fa7dbe38757d798423b4b68f35de72377c3/mediagoblin-indexedsearch-0.1.1.tar.gz" } ], "0.1.dev0": [ { "comment_text": "", "digests": { "md5": "b60ff61e0d94354b316a23e77ddff168", "sha256": "661c6e32dc153fe6fc803e84761ddcb8e9a59adae758c9efb1b64f343aa4ce96" }, "downloads": -1, "filename": "mediagoblin-indexedsearch-0.1.dev0.tar.gz", "has_sig": false, "md5_digest": "b60ff61e0d94354b316a23e77ddff168", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8878, "upload_time": "2016-02-21T13:12:26", "url": "https://files.pythonhosted.org/packages/9b/8b/a2263be84b1ef9d98ccc26d710b74146e25b33e688a4bc8860e1551cde93/mediagoblin-indexedsearch-0.1.dev0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "ae6c2d1731e00592de724dad4ed90236", "sha256": "1c0390a72b7e8017114d014591a8871f9364d7bef564745ddf1047be9be839f6" }, "downloads": -1, "filename": "mediagoblin_indexedsearch-0.1.1-py2-none-any.whl", "has_sig": false, "md5_digest": "ae6c2d1731e00592de724dad4ed90236", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 22581, "upload_time": "2017-07-21T18:18:11", "url": "https://files.pythonhosted.org/packages/83/33/a2d8fcae04037522136d9b1d427954998afbce740424f805cb9fd153045c/mediagoblin_indexedsearch-0.1.1-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "72c6b27d7e8707beabf0facf8dc1bda3", "sha256": "111a67a00c967382ded1d50066af94b8b28677fc8e2c36b2c0e625e97176ca78" }, "downloads": -1, "filename": "mediagoblin_indexedsearch-0.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "72c6b27d7e8707beabf0facf8dc1bda3", "packagetype": "bdist_wheel", "python_version": "3.6", "requires_python": null, "size": 22581, "upload_time": "2017-07-21T18:16:22", "url": "https://files.pythonhosted.org/packages/2d/20/10afd876c2aa6a6033d7cee3f0fa8bc2fe97e8519d03003402ea2a58139b/mediagoblin_indexedsearch-0.1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "71210c35e8889c9f26f6b0d424fd0b90", "sha256": "415b529ef2b49d155b424f50cccfeebcf9c688e1622231f2f7b9d5ed2a7789d4" }, "downloads": -1, "filename": "mediagoblin-indexedsearch-0.1.1.tar.gz", "has_sig": false, "md5_digest": "71210c35e8889c9f26f6b0d424fd0b90", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10448, "upload_time": "2017-07-21T18:14:16", "url": "https://files.pythonhosted.org/packages/ff/c9/5117716272d08b1f30a59d6f7fa7dbe38757d798423b4b68f35de72377c3/mediagoblin-indexedsearch-0.1.1.tar.gz" } ] }