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 |
|
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
|
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
|
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
|
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
|
e0744a2856
|
Improved further the test for issue #2.
|
2014-05-11 00:06:05 +02:00 |
|
Jorge C. Leitão
|
d3a1bc67e4
|
Added test validating issue #2.
|
2014-05-10 23:46:38 +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 |
|
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
|
bca561c29d
|
Merged build_schema fix from master
|
2011-08-08 20:10:34 -07:00 |
|
David Sauve
|
23ca1ed97a
|
Updated copyright notice.
|
2011-07-14 16:14:07 -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
|
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 |
|
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
|
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
|
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
|
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
|
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
|
0e31e326c8
|
Updated test suite to demonstrate new SearchQuery._term_query fixes from last commit
|
2010-08-10 10:44:22 -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
|
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
|
a9dc03d070
|
Added a query test to demonstrate how __in and punctuation is expected to work
|
2010-04-20 14:17:00 -04:00 |
|
David Sauve
|
41762d7c42
|
Better testing for whitespace in term indexing
|
2010-03-11 12:11:14 -05:00 |
|
David Sauve
|
962585a40d
|
Added a check to ensure that we don't try to index empty terms
|
2010-03-11 09:45:06 -05:00 |
|
David Sauve
|
9d8af9cbcf
|
Changed SearchBackend.update so that it indexes terms with punctuation as well as using the Xapian.TermGenerator. This allows terms like URLs to work as expected
|
2010-03-05 15:33:14 -05:00 |
|
David Sauve
|
3ce0ad120d
|
Updated to mirror changes to faceting in Haystack that were introduced in SHA c8f8d
|
2010-02-19 09:47:58 -05:00 |
|
David Sauve
|
560f33533f
|
Removed leftover pdb.set_trace()
|
2010-02-13 15:09:04 -05:00 |
|
David Sauve
|
097808ca44
|
Corrected an issue with stemming that caused it to be skipped when searching without limiting to a field
|
2010-02-12 14:40:14 -05:00 |
|
David Sauve
|
e794f53c99
|
Rewrote __starts_with filter to be much more effecient by using a query_parser for the query fragment to expand wildcards
|
2010-02-09 14:04:53 -05:00 |
|
David Sauve
|
576f13ea91
|
Added test to verify that overriding the type of field works as expected
|
2010-02-09 10:26:43 -05:00 |
|
David Sauve
|
a4e60604a3
|
Updated SearchBackend.update to be smarter when indexing multi-value fields and stemming. Will now only stem text fields and will properly index each field of a MultiValueField.
|
2010-01-27 19:37:49 -05:00 |
|
David Sauve
|
f8689c8247
|
Added a test to confirm that MultiValueField isn't working properly for short values
|
2010-01-27 15:34:15 -05:00 |
|
David Sauve
|
b98e044cd0
|
Added NOT tests for date/datetime
|
2010-01-21 14:38:31 -05:00 |
|