Commit Graph

587 Commits

Author SHA1 Message Date
Jorge C. Leitão 313ef57a55 Fixed Travis build and added Xapian 1.4.1 to it. 2016-10-30 14:32:22 +01:00
Claude Paroz e0e6a11e46 Endswith is not yet supported in Xapian
'endswith' query support has been added in django-haystack/django-haystack@42f53cda9.
2016-10-14 16:25:43 +02:00
Claude Paroz d1c59752ce Haystack now defaults to __content instead of __contains
Echo to commit django-haystack/django-haystack@42f53cda9
2016-10-14 16:25:43 +02:00
Claude Paroz c330906457 Dropped support for Django 1.6/1.7 and added Django 1.9/1.10 support 2016-10-14 16:25:43 +02:00
Claude Paroz a70c63f846 Updated fixtures lists
Echo to commit django-haystack/django-haystack@7299adc4c (renamed base test
fixture).
2016-10-14 15:56:28 +02:00
Claude Paroz 8a6371a4ae Xapian sources should be downloaded by https 2016-10-14 15:56:28 +02:00
Jorge C. Leitão ea2d9fec82 Updated setup.py and README. 2015-11-16 18:45:41 +01:00
Jorge C. Leitão cec243cffd Fixed #128 -- Added support to Python 3. 2015-11-14 12:37:43 +01:00
Jorge C. Leitão 63cfcc1d73 Fixed tests for Xapian 1.3.
Changes were mostly on how the query parser parsed a query.
Probabily we should not test that anyway, but for now
it is passing in 1.3.3
2015-11-14 12:19:16 +01:00
Jorge C. Leitão 4fc3d749c8 Added support to new API of Xapian to sort results. 2015-11-13 21:03:53 +01:00
Jorge C. Leitão 62a781bf74 Added Python 3 to build. 2015-11-13 20:56:04 +01:00
Jorge C. Leitão 608e559b4a Simplified Django versions in Travis. 2015-11-12 00:27:17 +01:00
Jorge C. Leitão e31f6bbce4 Added coveralls to travis build. 2015-11-12 00:22:06 +01:00
Jorge C. Leitão 45191f8944 Date facets now return datetimes instead of strings.
Also added one more test to date facets.
2015-11-12 00:22:06 +01:00
Jorge C. Leitão a3ea18207a Added test of field facets of floats and numbers. 2015-11-12 00:22:06 +01:00
Jorge C. Leitão 0bea487560 Added test for min and max values of a float field. 2015-11-12 00:22:06 +01:00
Jorge C. Leitão fdc91c6892 Major re-organization of tests. No new test. 2015-11-12 00:21:57 +01:00
Alexander Olekhnovich 6756b685f1 Added commit argument to remove 2015-10-28 13:13:25 +03:00
Viorel Stirbu a3a3a4e7cf Added commit argument to update
update has now the same signature as in Django-Haystack.
2015-04-16 21:43:59 +02:00
Jorge C. Leitão b2f50a69cd Updated README and requirements with latest updates. 2015-04-16 21:02:18 +02:00
Jorge C. Leitão db8d849dc7 Fixed tests in Travis.
This commit is supposed to be reverted at some point: it monkey
patches the whole module test_haystack/__init__.py so Django
is not setup twice.

This was the only way to avoid circular imports when using
django-admin.py to run tests in Django-Haystack.
2015-04-16 20:28:26 +02:00
Jorge C. Leitão 8f97971de3 Simplified call to run the tests. 2015-04-16 20:28:26 +02:00
Jorge C. Leitão 767458509c Fixed tests for Django 1.7 and 1.8. 2015-04-16 20:28:02 +02:00
Claude Paroz 89f05790b1 Fixed #148 -- Added compatibility for Django 1.8
Thanks Ben Cole for the report.
2015-04-16 19:05:38 +02:00
Claude Paroz 81ee120900 Test against multiple Django versions 2015-04-16 15:27:23 +02:00
Jürg Rast 3e8611265e Catched AttributeError for old Xapian versions. 2015-01-12 22:35:17 +01:00
Jürg Rast 82ba90b6a6 Fixed #141 -- Added configuration setting for stemming strategy. 2015-01-12 22:35:07 +01:00
antlord 1ea3549d68 Fixed #117 -- Added support for EdgeNgram and Ngram.
Docstring has been updated

tests has been created

some corrects of unusable imports

Fixes created after notices in pull request.

class of mock has been fixed, test of indexation edge ngram has been created

big cycle has been separated to generator

fix depencies

tests has been updated

some refactoring and generator of edge ngram terms has been updated

Package "six" has been removed from requirements, class with edge ngram
field has been created. Edge ngram field has been removed from another
mocks. Indexation for this class has been splitted to separate class.

unimportant tests has been removed

both techniques, ngram and edge ngram, has been implemeted

little refactoring

some minor fixes
2014-12-30 18:21:42 +01:00
Jorge C. Leitão 6a59513e9b Removed unnecessary requirement and bumped Django version. 2014-09-11 18:58:45 +02:00
Jorge C. Leitão 26fbee4703 Merged two commands in travis conf. 2014-09-11 18:46:34 +02:00
Jorge C. Leitão 9399958ab1 Fixed incompatibility with Django-Haystack tests. 2014-09-11 18:39:01 +02:00
Jorge C. Leitão 11ba78f42d Fixed #129 -- auto_query now works as expected.
Modified tests since "text" is the main document, which
doesn't make sense to use "startswith".
2014-06-13 20:04:38 +02:00
Jorge C. Leitão fc0a9f71d2 Fixed #49 - Improves support for exact matches on text.
This efectively increases the index size because it
now indexes literal words to improve __exact results.
2014-05-23 09:43:36 +02:00
Jorge C. Leitão 9d5e637ca0 Moved constant to top of the file. 2014-05-23 09:37:22 +02:00
Jorge C. Leitão 253ca46844 Added test to check positional information on document. 2014-05-23 08:01:42 +02:00
Jorge C. Leitão bbd408ba89 Simplified some code and improved termpos handling in update. 2014-05-22 19:16:37 +02:00
Jorge C. Leitão ec0d7091fc Added missing changes of previous commit. 2014-05-22 10:06:24 +02:00
Jorge C. Leitão 6c135e92f4 Improved how __exact works when used with multiple words. 2014-05-22 09:31:37 +02:00
Jorge C. Leitão 85cf58064f Merged branch 'issue123' - Adds compatibility to Haystack 2.X. 2014-05-21 07:16:12 +02:00
Jorge C. Leitão ba0b0c8a69 Merged branch 'master'. 2014-05-21 07:07:50 +02:00
Jorge C. Leitão ec8fb42e68 Fixed #103 - improves support for exact search. 2014-05-21 06:58:29 +02:00
Jorge C. Leitão ad0d67dc12 Added regression test for #103. 2014-05-21 06:58:29 +02:00
Jorge C. Leitão 39bc6d6c89 Improved robustness of test. 2014-05-21 06:58:28 +02:00
Jorge C. Leitão 3c5f9d4a36 Improved robustness of auto_query test. 2014-05-21 06:58:28 +02:00
Jorge C. Leitão 229752da87 Reorganized, renamed, and improved docstrings of TestCases. 2014-05-21 06:58:28 +02:00
Jorge C. Leitão b4a41565a5 Added test for multivalue indexing. 2014-05-21 06:58:28 +02:00
Jorge C. Leitão 48cec5202d Refactored _query_from_search_node into two menthods. 2014-05-21 06:58:28 +02:00
Jorge C. Leitão ab26c30d90 Fixed #119 - Adds support to non-anscii indexing and search. 2014-05-21 06:58:28 +02:00
Jorge C. Leitão e6d2350790 Added tests to check that every field type is correctly indexed. 2014-05-21 06:58:28 +02:00
Jorge C. Leitão 9d29d59222 Improved how date and datetime is indexed.
They can now be text-searched using UTC time format, on date, time
or both.
2014-05-21 06:58:28 +02:00