{ "info": { "author": "Jorge C. Leit\u00e3o", "author_email": "jorgecarleitao@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: GNU General Public License (GPL)", "Topic :: Internet :: WWW/HTTP :: Indexing/Search" ], "description": "Xapian backend for Django-Haystack\n==================================\n\n.. _Travis: https://travis-ci.org/notanumber/xapian-haystack\n\n.. image:: https://travis-ci.org/notanumber/xapian-haystack.svg?branch=master\n :target: https://travis-ci.org/notanumber/xapian-haystack\n.. image:: https://coveralls.io/repos/notanumber/xapian-haystack/badge.svg?branch=master&service=github\n :target: https://coveralls.io/github/notanumber/xapian-haystack?branch=master\n\nXapian-haystack is a backend of `Django-Haystack `__\nfor the `Xapian `__ search engine.\nThanks for checking it out.\n\nYou can find more information about Xapian `here `__.\n\n\nFeatures\n--------\n\nXapian-Haystack provides all the standard features of Haystack:\n\n- Weighting\n- Faceted search (date, query, etc.)\n- Sorting\n- Spelling suggestions\n- EdgeNGram and Ngram (for autocomplete)\n\nLimitations\n-----------\n\nThe `endswith` search operation is not supported by Xapian-Haystack.\n\n\nRequirements\n------------\n\n- Python 2.7 or 3+\n- Django 1.8+\n- Django-Haystack 2.5.1\n- Xapian 1.2.19+\n\nIn particular, we build-test this backend in `Travis`_ using:\n\n- Python 2.7 and 3.4\n- Django 1.8, 1.9 and 1.10\n- Django-Haystack (master)\n- Xapian 1.2.19 (Python 2 only), 1.3.3 (both), and 1.4.1 (both)\n\n\nInstallation\n------------\n\nFirst, install Xapian in your machine e.g. with the script provided,\n`install_xapian.sh`. Call it after activating the virtual environment to install::\n\n source /bin/activate\n ./install_xapian.sh \n\n`` must be >=1.3.0 for Python 3 envs. This takes around 10 minutes.\n\nFinally, install Xapian-Haystack by running::\n\n pip install git+https://github.com/notanumber/xapian-haystack.git\n\n\nConfiguration\n-------------\n\nXapian is configured as other backends of Haystack.\nYou have to define the connection to the database,\nwhich is done to a path to a directory, e.g::\n\n HAYSTACK_CONNECTIONS = {\n 'default': {\n 'ENGINE': 'xapian_backend.XapianEngine',\n 'PATH': os.path.join(os.path.dirname(__file__), 'xapian_index')\n },\n }\n\nThe backend has the following optional settings:\n\n- ``HAYSTACK_XAPIAN_LANGUAGE``: the stemming language; the default is `english` and the list of available languages\n can be found `here `__.\n\n- ``HAYSTACK_XAPIAN_WEIGHTING_SCHEME``: a tuple with parameters to be passed to the weighting scheme\n `BM25 `__.\n By default, it uses the same parameters as Xapian recommends; this setting allows you to change them.\n\n- ``HAYSTACK_XAPIAN_FLAGS``: the options used to parse `AutoQueries`;\n the default is ``FLAG_PHRASE | FLAG_BOOLEAN | FLAG_LOVEHATE | FLAG_WILDCARD | FLAG_PURE_NOT``\n See `here `__ for more information\n on what they mean.\n\n- ``HAYSTACK_XAPIAN_STEMMING_STRATEGY``: This option lets you chose the stemming strategy used by Xapian. Possible\n values are ``STEM_NONE``, ``STEM_SOME``, ``STEM_ALL``, ``STEM_ALL_Z``, where ``STEM_SOME`` is the default.\n See `here `__ for\n more information about the different strategies.\n\n\nTesting\n-------\n\nXapian-Haystack has a test suite in continuous deployment in `Travis`_. The script\n``.travis.yml`` contains the steps required to run the test suite.\n\n\nSource\n------\n\nThe source code can be found in `github `_.\n\n\nCredits\n-------\n\nXapian-Haystack is maintained by `Jorge C. Leit\u00e3o `__;\n`David Sauve `__ was the main contributor of Xapian-Haystack and\nXapian-Haystack was originally funded by `Trapeze `__.\n`Claudep `__ is a frequent contributor.\n`ANtlord `__ implemented support for EdgeNgram and Ngram.\n\n\nLicense\n-------\n\nXapian-haystack is free software licenced under GNU General Public Licence v2 and\nCopyright (c) 2009, 2010, 2011, 2012 David Sauve, 2009, 2010 Trapeze, 2014 Jorge C. Leit\u00e3o.\nIt may be redistributed under the terms specified in the LICENSE file.\n\n\nQuestions, Comments, Concerns:\n------------------------------\n\nFeel free to open an issue `here `__\nor pull request your work.\n\nYou can ask questions on the django-haystack `mailing list `_:\nor in the irc ``#haystack``.", "description_content_type": null, "docs_url": null, "download_url": "http://github.com/notanumber/xapian-haystack/tarball/2.1.0", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/notanumber/xapian-haystack", "keywords": null, "license": "GPL2", "maintainer": null, "maintainer_email": null, "name": "xapian-haystack", "package_url": "https://pypi.org/project/xapian-haystack/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/xapian-haystack/", "project_urls": { "Download": "http://github.com/notanumber/xapian-haystack/tarball/2.1.0", "Homepage": "http://github.com/notanumber/xapian-haystack" }, "release_url": "https://pypi.org/project/xapian-haystack/2.1.1/", "requires_dist": null, "requires_python": null, "summary": "A Xapian backend for Haystack", "version": "2.1.1" }, "last_serial": 2891140, "releases": { "1.0.2beta": [ { "comment_text": "", "digests": { "md5": "f32a165d02b7bd0fb6ee13c19178b80f", "sha256": "f0c67b4098e895adeaa13b02a844372e34f50094d1065581902747e31808dee7" }, "downloads": -1, "filename": "xapian-haystack-1.0.2beta.tar.gz", "has_sig": false, "md5_digest": "f32a165d02b7bd0fb6ee13c19178b80f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 24102, "upload_time": "2010-08-27T22:42:10", "url": "https://files.pythonhosted.org/packages/83/48/f0e866e0edbaffac591aaae1f67317706ec5958dcd97b4206f207bec08a7/xapian-haystack-1.0.2beta.tar.gz" } ], "1.1.0beta": [ { "comment_text": "", "digests": { "md5": "120a33a1f003ad7eb1cdfc06d59e40ca", "sha256": "3ed143463ecacfb5f12cbc450cd31f1e2076e7415340504b9080bdcf690c3eea" }, "downloads": -1, "filename": "xapian-haystack-1.1.0beta.tar.gz", "has_sig": false, "md5_digest": "120a33a1f003ad7eb1cdfc06d59e40ca", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 23299, "upload_time": "2009-12-07T17:37:56", "url": "https://files.pythonhosted.org/packages/45/b3/a8b680003a2da7434bbb79c4fd0d878b9c98e8914504ad8fbdfce137ae09/xapian-haystack-1.1.0beta.tar.gz" } ], "1.1.1beta": [ { "comment_text": "", "digests": { "md5": "d6d90332f02a5a9902082aec687bc123", "sha256": "fcecc1f18e29af0bd8f6809dd1fade9b16a98a98574ab0ecc9cc8ac24107ee5c" }, "downloads": -1, "filename": "xapian-haystack-1.1.1beta.tar.gz", "has_sig": false, "md5_digest": "d6d90332f02a5a9902082aec687bc123", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 23228, "upload_time": "2009-12-09T17:30:03", "url": "https://files.pythonhosted.org/packages/ec/24/8850886d52f20599e303eea86317ff19c46ee966e1aca65cdce2c79d2831/xapian-haystack-1.1.1beta.tar.gz" } ], "1.1.2beta": [ { "comment_text": "", "digests": { "md5": "d186f21d327d944c6a01bcb09089bca1", "sha256": "e51a083458ad8fabdd7ce11502e9db11a2ac617b47cf13f662996c55f92fef5c" }, "downloads": -1, "filename": "xapian-haystack-1.1.2beta.tar.gz", "has_sig": false, "md5_digest": "d186f21d327d944c6a01bcb09089bca1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 23740, "upload_time": "2010-01-16T13:26:51", "url": "https://files.pythonhosted.org/packages/de/6f/591266e07ac8f3c0c318b77bc70dd629c6ae9372d11bc1c882b305fc5e87/xapian-haystack-1.1.2beta.tar.gz" } ], "1.1.3beta": [ { "comment_text": "", "digests": { "md5": "5feea3f35870d35e23c21c0d7e54c7f6", "sha256": "0e1b5e0e05fd5b843c835b00000ed79ea26d5e37f145e9dc3ed41897a6c527ae" }, "downloads": -1, "filename": "xapian-haystack-1.1.3beta.tar.gz", "has_sig": false, "md5_digest": "5feea3f35870d35e23c21c0d7e54c7f6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 23814, "upload_time": "2010-01-27T15:20:27", "url": "https://files.pythonhosted.org/packages/cd/bd/fb630d58e7a34feeb431788636268b09de275c0010da8104da4da17ca67a/xapian-haystack-1.1.3beta.tar.gz" } ], "1.1.4beta": [ { "comment_text": "", "digests": { "md5": "c8d7d6cf1bd987b3792730b65fbfd18f", "sha256": "21bcf5890b47483ed702a625d0a7ab60a0edc454b88ed2852b6266f5417f2709" }, "downloads": -1, "filename": "xapian-haystack-1.1.4beta.tar.gz", "has_sig": false, "md5_digest": "c8d7d6cf1bd987b3792730b65fbfd18f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 24342, "upload_time": "2010-12-07T03:26:01", "url": "https://files.pythonhosted.org/packages/f6/07/11c351820edd21d6a4f33e1b1b3cc5b6e3119f8d0b708e6fe2cde0e0f78a/xapian-haystack-1.1.4beta.tar.gz" } ], "1.1.5beta": [ { "comment_text": "", "digests": { "md5": "674a68da01587ca0e130bd49c3f4fab5", "sha256": "43b60ce3924eb5bbd4cc49fb4709d3456a11f5f2b642c2ffe9a2e5cd7a1f2286" }, "downloads": -1, "filename": "xapian-haystack-1.1.5beta.tar.gz", "has_sig": false, "md5_digest": "674a68da01587ca0e130bd49c3f4fab5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 24406, "upload_time": "2010-12-20T20:53:52", "url": "https://files.pythonhosted.org/packages/f0/be/f4e5e686f90eb468a85fefcc3d483fcaab87da0afa077f2b29f810051cb7/xapian-haystack-1.1.5beta.tar.gz" } ], "2.0.0": [ { "comment_text": "", "digests": { "md5": "be461460061a460ca18ba97e6efa1b7e", "sha256": "0d36a48a53de418adc1b01d846eba4cb04489a2fd0f88819ec763bfd2a7f781c" }, "downloads": -1, "filename": "xapian-haystack-2.0.0.tar.gz", "has_sig": false, "md5_digest": "be461460061a460ca18ba97e6efa1b7e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 24381, "upload_time": "2015-11-16T17:55:46", "url": "https://files.pythonhosted.org/packages/7b/39/86f680fe9b76c7c6c206a768f7639e6da9cebd7aeb3c21082900f5fc4740/xapian-haystack-2.0.0.tar.gz" } ], "2.1.0": [ { "comment_text": "", "digests": { "md5": "9a9c646ca856d5955a39da8ecf35a8ff", "sha256": "7985c6d593be1f131b479eac88f3eca5b361ac9f4df39a0abd49e92b3682e110" }, "downloads": -1, "filename": "xapian-haystack-2.1.0.tar.gz", "has_sig": false, "md5_digest": "9a9c646ca856d5955a39da8ecf35a8ff", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 24550, "upload_time": "2017-03-03T07:23:50", "url": "https://files.pythonhosted.org/packages/74/40/0facc181a22de302fa838b1c63e9edc171a235eede954cbe901388acc3a4/xapian-haystack-2.1.0.tar.gz" } ], "2.1.1": [ { "comment_text": "", "digests": { "md5": "c0d75935834b8e209d6795700baad5a9", "sha256": "1e2fc4d84dc32f132e5b143266e4d4a32e6abac1d363742d0ebc212fac8ade70" }, "downloads": -1, "filename": "xapian-haystack-2.1.1.tar.gz", "has_sig": false, "md5_digest": "c0d75935834b8e209d6795700baad5a9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 24562, "upload_time": "2017-05-22T16:34:37", "url": "https://files.pythonhosted.org/packages/e5/13/9ce2a800eb9b6d3d1e91db058216c2dd3817bc8f80a971544f413f0eaab4/xapian-haystack-2.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "c0d75935834b8e209d6795700baad5a9", "sha256": "1e2fc4d84dc32f132e5b143266e4d4a32e6abac1d363742d0ebc212fac8ade70" }, "downloads": -1, "filename": "xapian-haystack-2.1.1.tar.gz", "has_sig": false, "md5_digest": "c0d75935834b8e209d6795700baad5a9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 24562, "upload_time": "2017-05-22T16:34:37", "url": "https://files.pythonhosted.org/packages/e5/13/9ce2a800eb9b6d3d1e91db058216c2dd3817bc8f80a971544f413f0eaab4/xapian-haystack-2.1.1.tar.gz" } ] }