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 |
|
David Sauve
|
8f1f906d40
|
Changed test for term boost to use AND_MAYBE instead of OR
|
2010-01-15 09:16:55 -05:00 |
|
David Sauve
|
7626ee6e38
|
Moved schema generation out of database opening method and made it into a property that should be cached.
|
2009-12-08 13:18:17 -05:00 |
|
David Sauve
|
f592114415
|
Added InvalidIndexError and test for write permissions on path
|
2009-12-08 11:44:10 -05:00 |
|
David Sauve
|
cee069dd5e
|
Removed 'silly_test'
|
2009-12-08 08:49:24 -05:00 |
|
David Sauve
|
1ec4fdf7ab
|
Added stemming support
|
2009-12-05 11:32:29 -05:00 |
|
David Sauve
|
72134e096b
|
Query facets working again and reworked narrow to take a query_string instead of xapian.Query. This should be easier to use.
|
2009-12-05 10:43:52 -05:00 |
|
David Sauve
|
f1b7c04c12
|
Only thing missing now is query_facets
|
2009-12-04 20:30:26 -05:00 |
|
David Sauve
|
1fe78fc384
|
__lt is working
|
2009-12-04 16:44:36 -05:00 |
|
David Sauve
|
999800e4a8
|
__gt is working
|
2009-12-04 16:41:41 -05:00 |
|
David Sauve
|
253382b41a
|
__startswith has been implemented in new branch
|
2009-12-04 15:41:32 -05:00 |
|
David Sauve
|
4ea6f5eda1
|
Added parse_query utility method for SearchBackend. This takes a query_string and attempts to convert it to a xapian.Query for use by search
|
2009-12-04 14:42:06 -05:00 |
|
David Sauve
|
da34c32849
|
Added LiveLiveXapianSearchQueryTestCase
|
2009-12-04 14:16:08 -05:00 |
|
David Sauve
|
8ed2e9196e
|
Removed commented code block
|
2009-12-04 10:33:29 -05:00 |
|
David Sauve
|
617f623b6b
|
Order by is working
|
2009-12-04 10:27:23 -05:00 |
|
David Sauve
|
ae58bf85d2
|
field and date facets working
|
2009-12-04 09:13:10 -05:00 |
|
David Sauve
|
012ba98ed1
|
Added limit_to_registered_models in mlt
|
2009-12-03 16:48:21 -05:00 |
|
David Sauve
|
585ccfdac7
|
More like this is working
|
2009-12-03 16:40:33 -05:00 |
|
David Sauve
|
ccde83ff8c
|
Highlighting is working again
|
2009-12-03 13:49:26 -05:00 |
|
David Sauve
|
a6e7670973
|
Added spelling suggestion
|
2009-12-03 12:20:04 -05:00 |
|
David Sauve
|
60e8925280
|
Changed is not to is when testing for list, tuple. Silly style thing.
|
2009-12-03 10:21:03 -05:00 |
|
David Sauve
|
4bff8c9376
|
Split marshalling into two methods: marshal_term and marshal_value as they should be done differently
|
2009-12-03 09:38:49 -05:00 |
|
David Sauve
|
c2e33da295
|
Removed a bunch of search tests that were testing various query_string combinations. These are no longer relevant.
|
2009-12-02 15:05:53 -05:00 |
|
David Sauve
|
6ffeb96090
|
Removed SearchBackend.delete_index. Is not part of the API.
|
2009-12-02 13:35:00 -05:00 |
|
David Sauve
|
8b88e544b3
|
SearchBackend.clear confirmed working
|
2009-12-02 13:12:40 -05:00 |
|
David Sauve
|
166f2b2109
|
SearchBackend.remove is also working
|
2009-12-02 13:11:57 -05:00 |
|
David Sauve
|
8351f79326
|
SearchBackend.update is working again
|
2009-12-02 13:10:30 -05:00 |
|
David Sauve
|
4b0f6520f1
|
Re-added xapian_backend tests. This is in a really rough state right now. Most tests are commented out.
|
2009-12-02 11:47:26 -05:00 |
|
David Sauve
|
c6dd7b5deb
|
Updated to GPLv3 to maintain compatibility with Apache license
|
2009-12-01 15:55:22 -05:00 |
|
David Sauve
|
d197014a82
|
Added support for not in 'in' based queries
|
2009-12-01 09:11:01 -05:00 |
|
David Sauve
|
09c12d88f7
|
Refactored some of the comon bits of query generation for phrase, all, and term based queries. Fixed 'in' based queries
|
2009-12-01 08:58:34 -05:00 |
|
David Sauve
|
2065ecee7f
|
Small refactor to make 'exact'more DRY
|
2009-11-30 16:34:40 -05:00 |
|
David Sauve
|
2e3ed62c02
|
A whole lot of work on phrase and not operators.
|
2009-11-30 16:10:46 -05:00 |
|
David Sauve
|
184f10af2d
|
Converted model filtering to use pure boolean subquery
|
2009-11-29 19:12:59 -05:00 |
|
David Sauve
|
2a4b32f03b
|
SearchQuery now supports model filtering
|
2009-11-29 17:06:29 -05:00 |
|
David Sauve
|
7dd36f47d8
|
Removed RESERVED_WORDS and RESERVED_CHARACTERS
|
2009-11-29 16:31:13 -05:00 |
|
David Sauve
|
3cacb54cf5
|
Added term boosting
|
2009-11-29 16:05:36 -05:00 |
|
David Sauve
|
e9f2064454
|
Added tests for boolean query and datetime query. Also added test for phrase query.
|
2009-11-28 18:55:11 -05:00 |
|
David Sauve
|
1ce5b2ca14
|
Merged more master changes into next
|
2009-11-28 12:34:21 -05:00 |
|
David Sauve
|
500664a2e4
|
Merged master changes into next
|
2009-11-28 12:31:03 -05:00 |
|
David Sauve
|
8987c532c6
|
Cleaned up setUp an tearDown
|
2009-11-19 15:05:30 -05:00 |
|
David Sauve
|
91c58304f0
|
Six passing tests. Combining AND, OR, NOT works.
|
2009-11-13 10:01:16 -05:00 |
|
David Sauve
|
537b1802a3
|
Five tests. OR operator now working
|
2009-11-13 10:01:16 -05:00 |
|
David Sauve
|
09ffc6d481
|
Four tests passing now. Recursively parsing the search nodes and negated on NOT as required.
|
2009-11-13 10:01:15 -05:00 |
|
David Sauve
|
35f51e97bc
|
Passing three tests. Empty query, single content value, multi-content values
|
2009-11-13 10:01:15 -05:00 |
|
David Sauve
|
529edc24b4
|
Passing first two tests...
|
2009-11-13 10:01:15 -05:00 |
|
David Sauve
|
30bc0d0805
|
More refactor work
|
2009-11-13 10:01:15 -05:00 |
|
David Sauve
|
3334b94349
|
Started work in refactor
|
2009-11-13 10:01:14 -05:00 |
|
David Sauve
|
d6a24ef33c
|
Six passing tests. Combining AND, OR, NOT works.
|
2009-11-13 10:00:37 -05:00 |
|
David Sauve
|
d7e606f0d5
|
Five tests. OR operator now working
|
2009-11-13 10:00:37 -05:00 |
|
David Sauve
|
3c42660a47
|
Four tests passing now. Recursively parsing the search nodes and negated on NOT as required.
|
2009-11-13 10:00:37 -05:00 |
|
David Sauve
|
3280b89d73
|
Passing three tests. Empty query, single content value, multi-content values
|
2009-11-13 10:00:37 -05:00 |
|
David Sauve
|
ef70ade65a
|
Passing first two tests...
|
2009-11-13 10:00:36 -05:00 |
|
David Sauve
|
9b3b6d0b02
|
More refactor work
|
2009-11-13 10:00:36 -05:00 |
|
David Sauve
|
c7744fee70
|
Started work in refactor
|
2009-11-13 10:00:36 -05:00 |
|
David Sauve
|
c92e8c7c7b
|
Six passing tests. Combining AND, OR, NOT works.
|
2009-11-13 09:59:00 -05:00 |
|
David Sauve
|
a96ed9e216
|
Five tests. OR operator now working
|
2009-11-13 09:59:00 -05:00 |
|
David Sauve
|
84988c69f3
|
Four tests passing now. Recursively parsing the search nodes and negated on NOT as required.
|
2009-11-13 09:58:59 -05:00 |
|
David Sauve
|
5905909b7c
|
Passing three tests. Empty query, single content value, multi-content values
|
2009-11-13 09:58:59 -05:00 |
|
David Sauve
|
ac11ba627b
|
Passing first two tests...
|
2009-11-13 09:58:58 -05:00 |
|
David Sauve
|
96f16cb4e6
|
More refactor work
|
2009-11-13 09:58:58 -05:00 |
|
David Sauve
|
44bb6c6f48
|
Started work in refactor
|
2009-11-13 09:58:57 -05:00 |
|
David Sauve
|
abd5920645
|
Updated to use changed get_identifier method
|
2009-11-09 20:27:46 -05:00 |
|
David Sauve
|
204feae63e
|
Updated to use new SQ objects
|
2009-10-21 10:22:29 -04:00 |
|
David Sauve
|
7992479755
|
Updated test layout so that it is the same as Haystack itself. This way, it can be dropped into Haystack and run just like the rest of the tests.
|
2009-10-07 16:10:21 -04:00 |
|
David Sauve
|
520713612a
|
Added support for spelling_query in run method as added in django-haystack SHA 167030ae1e34e8e4ab5f765b5c4fcd62e6c7ad69
|
2009-09-17 13:39:52 -04:00 |
|
David Sauve
|
e0c6b3d7b1
|
Added support for faceting when using MultiValueField
|
2009-09-16 14:07:24 -04:00 |
|
David Sauve
|
d593924386
|
Added float type to build_schema. Floats were being indexed as text.
|
2009-08-29 18:04:28 -04:00 |
|
David Sauve
|
4ea8271fb3
|
Changed the way int/long values are stored so that they are not serialised as xapian types. Instead, use 0 padded strings.
|
2009-08-28 10:42:58 -04:00 |
|
David Sauve
|
7c00117043
|
Fixed query string generation to work with NOT, gte, lte, lt, gt, and in.
|
2009-08-27 20:20:02 -04:00 |
|
David Sauve
|
891acf5927
|
Minor cleanup of test_search NOT operator to ensure consistency
|
2009-08-27 18:08:52 -04:00 |
|
David Sauve
|
6922b05f47
|
Better exclude query generation
|
2009-08-27 17:47:14 -04:00 |
|
David Sauve
|
225fa3f53b
|
Added test for build_schema
|
2009-08-27 17:37:39 -04:00 |
|