jorgecarleitao
cb6cd20745
Merge pull request #121 from jorgecarleitao/issue112
...
Fixed #112 - more_like_this raises InvalidIndexError for unindexed instance.
This doesn't happen if silently_fail is True, in which case it returns
an empty result. Added test to cover both cases.
2014-05-16 18:49:15 +02:00
Jorge C. Leitão
01805d08f8
Fixed #112 - more_like_this raises InvalidIndexError for unindexed instance.
...
This doesn't happen if silently_fail is True, in which case returns
an empty result. Added test to cover both cases.
2014-05-15 08:26:33 +02:00
jorgecarleitao
65c6e9a71b
Fixed #114 - README now asks to install from master.
2014-05-13 21:07:14 +02:00
jorgecarleitao
4e2843ed00
Updated README.rst to notanumber rep
2014-05-13 20:25:13 +02:00
Jorge C. Leitão
bd034e3838
Improved README.
2014-05-11 22:36:35 +02:00
Jorge C. Leitão
6ed8569ef3
Made minor fixes related to code maintenance.
2014-05-11 21:02:47 +02:00
Jorge C. Leitão
a7fdb8b291
Replaced force_unicode to force_text to Python3.
2014-05-11 20:27:24 +02:00
Jorge C. Leitão
3adaa23ef2
Dropped usage of cPickle to use just pickle.
2014-05-11 20:15:28 +02:00
Jorge C. Leitão
a7082c9127
Added travis CI to code.
2014-05-11 19:55:10 +02:00
Jorge C. Leitão
2a0ec53374
Moved prefixed test modules with "test_" so they can be found.
2014-05-11 18:23:01 +02:00
Jorge C. Leitão
a4b10dd31d
Migrated strings to Python3 using unicode_literal.
2014-05-11 17:50:48 +02:00
Jorge C. Leitão
0d67bfb00b
Simplified some conditions in the code.
2014-05-11 17:22:44 +02:00
Jorge C. Leitão
59cd25789a
Fixed error that was causing test to pass due to assert(True).
2014-05-11 17:06:18 +02:00
Jorge C. Leitão
b28a80b420
Fixed error that was causing a test to fail.
2014-05-11 17:05:47 +02:00
Jorge C. Leitão
9bf34a936d
Simplifed tests code by removing duplicate code.
2014-05-11 16:24:23 +02:00
Jorge C. Leitão
966d16588c
Simplified tests and added documentation.
2014-05-11 16:21:09 +02:00
Jorge C. Leitão
024e10715b
Removed _meta calls by using the haystack 'get_model_ct'.
2014-05-11 16:20:57 +02:00
Jorge C. Leitão
7385322ec4
Fixed error on test case.
2014-05-11 09:57:19 +02:00
Jorge C. Leitão
0551f00dd7
Removed minor unused code in tests.
2014-05-11 09:32:43 +02:00
Jorge C. Leitão
4874fffc3d
Removed _meta calls by using the haystack 'get_model_ct'.
2014-05-11 09:21:50 +02:00
Jorge C. Leitão
5ef9ceb192
Improved backend interface and removed repeated loop.
2014-05-11 07:49:52 +02:00
Jorge C. Leitão
e0744a2856
Improved further the test for issue #2 .
2014-05-11 00:06:05 +02:00
Jorge C. Leitão
6fd59d2d67
Fixed #2 by making indexing of ID distinct from others.
2014-05-11 00:05:45 +02:00
Jorge C. Leitão
d3a1bc67e4
Added test validating issue #2 .
2014-05-10 23:46:38 +02:00
Jorge C. Leitão
c24abd182b
Fixed #1 by making ID to be parsed as a non-text.
2014-05-10 23:33:31 +02:00
Jorge C. Leitão
f81ba0021c
Fixed error on get_terms that caused the last term to end in '\n'.
2014-05-10 23:24:17 +02:00
Jorge C. Leitão
a9d144290c
Added test confirming issue #1 .
2014-05-10 22:59:08 +02:00
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