Commit Graph

382 Commits

Author SHA1 Message Date
David Sauve 224eb804ff Switched license back to GPL v2. 2011-07-14 15:52:03 -07:00
David Sauve 227fb7552b Added test-case for multiple datetime fields to test sorting in reference to gh-76. 2011-06-15 16:03:21 -07:00
David Sauve 710e9b7368 Updated SearchQuery._content_field to properly build phrase queries, restricting them to the document field. 2011-06-15 15:07:22 -07:00
David Sauve 6a7c2ef9bf Added overridable weighting scheme through the use of a new setting named HAYSTACK_XAPIAN_WEIGHTING_SCHEME. 2011-06-13 13:37:29 -07:00
David Sauve cc8a5ad773 Edited AUTHORS via GitHub 2011-05-11 15:09:21 -07:00
David Sauve 712958f0db Fixed to allow boost on phrase as well as single terms 2011-05-11 14:13:34 -07:00
David Sauve ef8ca2dfa7 Merge pull request #74 from toastdriven/master.
Changes to help bring the Xapian backend up to current.
2011-05-04 11:46:18 -07:00
Daniel Lindsley 8112cf383d Added a failing test to demonstrate that respecting the current site isn't working. 2011-05-03 15:37:30 -05:00
Daniel Lindsley 8d3bc1a4ee Fixed results to now include the ``site``. 2011-05-03 15:14:58 -05:00
Daniel Lindsley 3b3834d8ed Fixed a bug so that ``ValuesListQuerySet`` now works with the ``__in`` filter. 2011-05-03 15:03:29 -05:00
Daniel Lindsley 9afba72cae Added ``result_class`` compatibility to match the other Haystack backends. 2011-05-03 15:03:07 -05:00
David Sauve b85adf5818 Removed mod_wsgi as requirement. 2011-04-18 13:40:28 -07:00
David Sauve 4f05cf7b13 Import MoreLikeThisError. This resolves issue 72 2011-04-07 16:46:29 -07:00
David Sauve 84c3274628 Updated README.rst with a description of the additional HAYSTACK_XAPIAN_FLAGS setting 2011-03-25 18:38:51 -07:00
David Sauve b6b92c85de Moved queryparser flags to an overrideable setting (HAYSTACK_XAPIAN_FLAGS). Default values are stored in DEFAULT_XAPIAN_FLAGS 2011-03-25 18:32:57 -07:00
David Sauve 1ef5dc3525 Updated faiing test 2011-02-07 20:34:23 -08:00
David Sauve dc11c14542 Updated copyright information 2011-02-01 14:59:13 -08:00
David Sauve 78d8c6841a Updated authors 2011-02-01 14:55:48 -08:00
David Sauve 027e9bf1f1 Removed check for writable path in __init__. Thanks to Jacob Kaplan-Moss for pointing it out. 2011-02-01 14:54:08 -08:00
David Sauve fce97acf33 Set database = None to force closing at the end of the update call. 2011-01-04 12:52:47 -08:00
David Sauve 0442a35594 Added custom run and run_mlt methods to SearchQuery 2011-01-04 11:20:54 -08:00
David Sauve 4cdd01f47f Updated version number for release. 2010-12-20 11:45:31 -08:00
David Sauve 29ae7f7672 Merged field_weights branch 2010-12-20 11:40:46 -08:00
David Sauve a07a980662 Fixed broken __startswith (removing FLAG_PARTIAL changed how this works). This closes issue #64. 2010-12-12 13:28:53 -08:00
David Sauve 2d8ef676a0 Updated release number in setup.py 2010-12-06 18:24:28 -08:00
David Sauve 14cd41a5d5 Updated release notes 2010-12-06 18:13:42 -08:00
David Sauve b8427fa20e Changed get_matches_estimated to size using all documents. This should be more accurate. 2010-11-10 12:36:02 -08:00
David Sauve e65cecdb55 Potential fix for count being out of sync on large datasets 2010-11-10 10:55:34 -08:00
David Sauve fb0f883cb3 Updated build_schema to use field_type parameter instead of isinstance as updated in Haystack. 2010-11-10 09:46:04 -08:00
David Sauve afcfba5c56 Updated AUTHORS 2010-10-27 10:28:44 -07:00
David Sauve a3e90e4bbf Removed xapian_search method in test suite. Is no longer required. 2010-10-27 10:27:16 -07:00
David Sauve 350beefe98 Updated clear method to use rmtree instead of cycling through and removing each document individually. Thanks j00bar. 2010-10-27 10:26:50 -07:00
David Sauve cbaae41511 Removed FLAG_PARTIAL from parse_query method. Is not neccessary and consumes a lot resources. 2010-10-27 09:59:57 -07:00
David Sauve 9caf1d4f3c Updated to work with facet field changes introduced in Haystack SHA 1fb315525e8e77bc4c75ce4e485781fdd91ef649 2010-10-27 09:48:43 -07:00
David Sauve 60f5161ad0 Merge branch 'master' of github.com:notanumber/xapian-haystack 2010-10-03 14:16:20 -07:00
David Sauve 5551d45e49 Removed weight argument from call to SearchResult in search call. 2010-10-03 14:15:33 -07:00
David Sauve c2d3f43715 Added thanks to liranz 2010-10-02 08:29:36 -07:00
David Sauve 99435741b2 Removed weight attribute from SearchResults generated. Is not used by Haystack. Thanks to liranz for pointing this out. 2010-10-02 08:23:16 -07:00
David Sauve fa66941000 Added missing acknowledgment to J00bar. 2010-08-27 13:09:42 -07:00
David Sauve acf2c5b58c Fixed typo in the haystacksearch.org site url. Thanks to jaddison for point it out. 2010-08-27 11:48:46 -07:00
David Sauve 0e31e326c8 Updated test suite to demonstrate new SearchQuery._term_query fixes from last commit 2010-08-10 10:44:22 -07:00
David Sauve ea60ae1ffe SearchQuery._term_query will now properly build a query for field id and django_ct 2010-08-10 10:43:21 -07:00
David Sauve 5180f5f00c Revert "Merged field_weights branch"
This reverts commit 660af5f564.
2010-08-05 10:02:59 -04:00
David Sauve 660af5f564 Merged field_weights branch 2010-07-21 19:13:26 -04:00
David Sauve f1808df037 Added Sym Roe to AUTHORS for contribution to improving more_like_this speed 2010-05-28 14:41:33 -04:00
David Sauve 28d7284205 Added number of terms to consider in more_like_this when using ELITE_SET 2010-05-28 14:41:09 -04:00
Sym Roe e4707203f4 Use OP_ELITE_SET rather than OP_OR in more_like_this.
Because performance is really bad when using OP_OR with a large database.
2010-05-29 02:23:24 +08:00
David Sauve f83742485b Updated release notes 2010-05-13 14:11:31 -07:00
David Sauve ba47d7b361 Updated for compatibility with Xapian 1.2 by removing depracted method calls and slightly refactoring the way queries are constructed. 2010-05-13 14:08:28 -07:00
David Sauve 12e9220b4c Updated version number in setup.py to match the version number in the xapian_backend.py file. 2010-05-11 09:52:53 -07:00