Commit graph

423 commits

Author SHA1 Message Date
Jorge C. Leitão
d470979d2c Added TestCase to test against the actual terms in the database. 2014-05-10 22:50:29 +02:00
Jorge C. Leitão
3400bbc637 Improved code of tests (PEP8 and repeated code). 2014-05-10 21:49:48 +02:00
Jorge C. Leitão
8e0b982af9 Fixed error causing the cached _schema to not be updated.
- This was causing conflicts between tests, causing some to fail
  by that.
2014-05-10 21:49:16 +02:00
Jorge C. Leitão
7f3702a4a2 Fixed PEP8 errors and made minor simplifications. 2014-05-10 21:47:23 +02:00
David Sauve
37add92bc4 Don't open a writable database in clear method if we're going to rmtree. Only do so when required. Should fix issue GH-96. 2012-06-05 09:57:24 -07:00
David Sauve
a4281e7cbd Updated narrow_queries in backend search to AND queries rather than OR. Thanks to naktinis for the original patch. 2012-05-28 16:06:07 -07:00
David Sauve
8c479019a9 Updated readme.rst with note about stemming languages 2012-04-20 13:10:43 -07:00
David Sauve
f2be304c86 Merged upstream 2012-04-20 13:10:31 -07:00
David Sauve
5834fd270c Merged upstream AUTHORS 2012-04-20 13:02:56 -07:00
David Sauve
b2ec99d376 Explicitly close open database connection when not in use. Thanks domasx2. 2012-04-20 12:57:56 -07:00
David Sauve
dcdc9eb319 Merged 2.0.X branch 2012-04-20 12:07:44 -07:00
David Sauve
9fff70d652 Updated documentation for 2.0.X 2012-04-20 11:53:06 -07:00
David Sauve
f9e17b7a01 Fixed pylint errors 2012-04-20 11:44:40 -07:00
David Sauve
ec68cb0917 Updated copyright notice 2012-04-20 11:44:32 -07:00
David Sauve
d97c0f2a78 Import settings from django.conf 2012-04-20 11:44:16 -07:00
David Sauve
b089df8af4 Fixed improperly backported call to super in XapianSearchQuery. Thanks Jezdez! 2011-08-27 15:43:09 -07:00
David Sauve
fb49298540 Replaced kirov with Evgeniy Kirov 2011-08-22 12:41:59 -07:00
David Sauve
e878ac08a9 Added kirov to AUTHORS 2011-08-22 10:24:35 -07:00
David Sauve
8852ba69e2 Merge pull request #86 from kirov/patch-1
settings.HAYSTACK_XAPIAN_LANGUAGE
2011-08-22 09:23:00 -07:00
kirov
a37886df58 users can now specify a stemming language via settings.HAYSTACK_XAPIAN_LANGUAGE 2011-08-22 20:14:47 +04:00
David Sauve
69ee097c1c Added Michael Opitz to AUTHORS. 2011-08-08 20:36:19 -07:00
David Sauve
ccbd3bc0d9 Merge commit '0741a63bf8f8f35af5d7' 2011-08-08 20:23:09 -07:00
David Sauve
da66673433 Removed TODO 2011-08-08 20:18:37 -07:00
David Sauve
5754a32106 Removed RELEASE. Is out of date. See Github for changes. 2011-08-08 20:18:34 -07:00
David Sauve
4a17679c0a Added James Addison to AUTHORS 2011-08-08 20:18:30 -07:00
David Sauve
22921e98ae Removed TODO 2011-08-08 20:17:19 -07:00
David Sauve
75bfa17e39 Removed RELEASE. Is out of date. See Github for changes. 2011-08-08 20:15:04 -07:00
David Sauve
f80709bd5b Added James Addison to AUTHORS 2011-08-08 20:14:23 -07:00
David Sauve
bca561c29d Merged build_schema fix from master 2011-08-08 20:10:34 -07:00
David Sauve
2109b8913d Fixed leftover bits from pervious merge 2011-08-08 20:08:36 -07:00
David Sauve
fdc84db098 Added sorting to build_schema method, added an always included id field, and updated tests for same. 2011-08-08 19:54:58 -07:00
David Sauve
687899d3bb Version number should probably remain beta since changes are mainly bug-fixes. 2011-08-08 15:16:13 -07:00
David Sauve
144b8cc86a Bumped version number to reflect changes from packed version 2011-08-08 15:15:27 -07:00
David Sauve
dbf8eb65d3 Ported build_params method form master and 1.0.X branches. 2011-08-08 15:07:16 -07:00
David Sauve
a8453772e5 Removed leftover run and run_mlt methods. Replaced with overriden build_params. This should fix gh-85 and gh-82. 2011-08-08 14:53:32 -07:00
Michael Opitz
0741a63bf8 added :memory: option 2011-07-17 17:50:35 +02:00
David Sauve
55ee1c4ad1 Switched license back to GPL v2. 2011-07-14 16:14:16 -07:00
David Sauve
23ca1ed97a Updated copyright notice. 2011-07-14 16:14:07 -07:00
David Sauve
d32dde1b7b Updated copyright notice. 2011-07-14 16:12:59 -07:00
David Sauve
224eb804ff Switched license back to GPL v2. 2011-07-14 15:52:03 -07:00
David Sauve
af9ca09f27 Merge remote branch 'toastdriven/multipleindex' into 2.0.X 2011-07-05 09:08:14 -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
Daniel Lindsley
b0a7505253 Updated Xapian for the multiple indexes support in Haystack 2.X. 2011-05-08 23:21:14 -05: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