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 |
|
David Sauve
|
d8b709a80c
|
Revert "Reverted not ordering. Put back check to push not to the end of query string."
This reverts commit a7fe00c058.
|
2009-08-18 21:19:51 -04:00 |
|
David Sauve
|
a7fe00c058
|
Reverted not ordering. Put back check to push not to the end of query string.
|
2009-08-18 21:06:12 -04:00 |
|
David Sauve
|
3fd41552c3
|
Removed requirement stipulating first expression cannot be NOT.
|
2009-08-18 20:26:59 -04:00 |
|
David Sauve
|
2c406c7ace
|
Allow exclude to work with in__ operator
|
2009-08-18 18:57:04 -04:00 |
|
David Sauve
|
c113c0face
|
Fix to ensure multiple expression query strings that begin with NOT are parsed corectly. This also changes the default flags to only use FLAG_PURE_NOT when needed
|
2009-08-18 15:52:34 -04:00 |
|
David Sauve
|
9cf9fe9e27
|
Updated date_facet to deal with changes in SHA d1a195 in Haystack.
|
2009-08-16 14:03:19 -04:00 |
|
David Sauve
|
d31a875b46
|
Added support for additional_query_string in mlt
|
2009-08-14 19:06:23 -04:00 |
|
David Sauve
|
b42ac852d5
|
Better field facet implementation
|
2009-08-11 09:28:15 -04:00 |
|
David Sauve
|
1a8e6d24b6
|
Implemented query facets
|
2009-08-11 08:42:42 -04:00 |
|
David Sauve
|
6a82cb5e3c
|
More date facet tests
|
2009-08-10 16:38:13 -04:00 |
|
David Sauve
|
5be650c426
|
Minor fix to date based facet
|
2009-08-10 16:34:29 -04:00 |
|
David Sauve
|
54ae6c3694
|
Initial date based query implementation. Actually working.
|
2009-08-10 16:12:59 -04:00 |
|
David Sauve
|
25eede14d8
|
Still working on date-based facets
|
2009-08-07 19:41:24 -04:00 |
|
David Sauve
|
d1715de84b
|
More date facet updates. Not ready for merging by a long shot...
|
2009-08-07 16:47:49 -04:00 |
|
David Sauve
|
40863f7413
|
Roughed in the date_query facet. Not working yet.
|
2009-08-07 16:21:29 -04:00 |
|
David Sauve
|
1ef902e849
|
Implemented boost
|
2009-08-07 15:58:36 -04:00 |
|
David Sauve
|
c496682895
|
Updated tests to work with latest changes in Haystack.
|
2009-08-07 08:12:15 -04:00 |
|
David Sauve
|
69899cd215
|
Ascending and descinding sortin was inverted. Fixed. Also added a test to confirm float sorting is working as expected.
|
2009-08-06 09:03:03 -04:00 |
|
David Sauve
|
a6a1859029
|
Minor tweak to cleanup. Using shutil instead of iterating file objects
|
2009-08-05 16:44:12 -04:00 |
|
David Sauve
|
8e5fcfafed
|
Fixed multiple filter query test
|
2009-08-05 09:29:34 -04:00 |
|
David Sauve
|
e621a731b3
|
Fix for issue #12 -- Index Field with index=False raises KeyError
|
2009-08-03 08:47:19 -04:00 |
|
David Sauve
|
068a657bc9
|
Fixed query generation to match new value range processor expectation
|
2009-08-02 20:33:47 -04:00 |
|
David Sauve
|
e385129a6d
|
Added support for gt, gte range queries
|
2009-08-02 20:32:19 -04:00 |
|
David Sauve
|
3841376be8
|
Added support for wildcard in lt, lte query
|
2009-08-02 20:14:51 -04:00 |
|
David Sauve
|
ec07836f05
|
Better range tests
|
2009-08-02 19:29:23 -04:00 |
|
David Sauve
|
793e878cd3
|
Better value range processing. Now using a custom value range processor.
|
2009-08-02 14:34:24 -04:00 |
|
David Sauve
|
53c5a674ea
|
Better value range processing? Custom value range processor. Not working with integers though...
|
2009-08-02 14:18:40 -04:00 |
|
David Sauve
|
371e34d3e4
|
More range tests
|
2009-08-02 13:36:04 -04:00 |
|
David Sauve
|
71f7b0ad08
|
Removed debug text
|
2009-08-02 10:41:58 -04:00 |
|
David Sauve
|
0da97a748f
|
All value ranges now working
|
2009-08-02 10:38:26 -04:00 |
|
David Sauve
|
724d15bc96
|
Number value ranges working
|
2009-08-02 10:24:44 -04:00 |
|
David Sauve
|
55ed0f4359
|
Encoding int, long, and float values when storing in values
|
2009-08-01 20:51:54 -04:00 |
|
David Sauve
|
234dcfe312
|
Formatting change
|
2009-08-01 20:11:53 -04:00 |
|
David Sauve
|
d60dc5a12b
|
A better _from_pythong method
|
2009-08-01 16:15:21 -04:00 |
|
David Sauve
|
98a6d5ea95
|
Added value range processors. Not working yet.
|
2009-08-01 14:07:36 -04:00 |
|
David Sauve
|
c834a319e7
|
Finished refactor. Code should be much easier to work with now.
|
2009-07-31 15:29:48 -04:00 |
|
David Sauve
|
8ee12dd68d
|
Continued refactoring. 23 of 27 tests passing now. Code is much cleaner and leaner
|
2009-07-31 11:46:14 -04:00 |
|
David Sauve
|
8afa719129
|
Added copyright notice
|
2009-07-31 11:43:58 -04:00 |
|
David Sauve
|
91043533ed
|
Corrected year in copyright notice. Should have been 2009, not 2007
|
2009-07-30 09:01:38 -04:00 |
|
David Sauve
|
3f97fa28b0
|
Added copyright notices
|
2009-07-30 08:57:35 -04:00 |
|
David Sauve
|
d4c8c42275
|
Fixed broken NOT query -- Thanks Supreet
|
2009-07-30 08:54:46 -04:00 |
|
David Sauve
|
c087348a48
|
Implemented highlighting
|
2009-07-27 15:12:20 -04:00 |
|
David Sauve
|
276fec46e4
|
Changed the order of import statements.
|
2009-07-22 16:38:01 -04:00 |
|
David Sauve
|
b4931e1d43
|
Changed date generation in _from_python method to not including formatting
|
2009-07-22 11:30:22 -04:00 |
|
David Sauve
|
0c27d0e8cf
|
Changed boolean values in _from_python to be t or f instead of true or false. Save a little bit of space
|
2009-07-21 13:47:13 -04:00 |
|
David Sauve
|
ff0a466241
|
Implemented multi-field ordering on search
|
2009-07-09 16:35:24 -04:00 |
|
David Sauve
|
00892d695e
|
Fixed sorting by integer and added tests to prove it
|
2009-07-09 14:04:06 -04:00 |
|
David Sauve
|
b147b5c926
|
Roughed in the order_by
|
2009-07-08 16:43:46 -04:00 |
|
David Sauve
|
9e6912541e
|
Refactored to use existing site.build_unified_schema() instead of generating this manually
|
2009-07-03 14:34:43 -04:00 |
|
David Sauve
|
b937536575
|
Implemented
|
2009-07-03 11:21:07 -04:00 |
|
David Sauve
|
9dbda099bc
|
Better spelling correction test
|
2009-07-03 10:12:10 -04:00 |
|
David Sauve
|
2c49f3e907
|
Corrected typo in tests
|
2009-07-03 10:08:36 -04:00 |
|
David Sauve
|
0dafdb920b
|
Moved spelling suggestion test to its own test just to make it easier to debug if there's a problem
|
2009-06-20 07:36:14 -04:00 |
|
David Sauve
|
0c0be221cb
|
Added spelling suggestions to SearchBackend.search method
|
2009-06-20 07:32:18 -04:00 |
|
David Sauve
|
9cb2305a61
|
Fixed SearchBackend.update not updating existing documents, but instead appending to index
|
2009-06-18 12:31:47 -04:00 |
|
David Sauve
|
993b28155a
|
Fixed more_like_this to omit the document used in the query
|
2009-06-17 19:30:25 -04:00 |
|
David Sauve
|
fa02d65941
|
Implemented more_like_this
|
2009-06-17 16:54:39 -04:00 |
|
David Sauve
|
2c80f85ec6
|
Made stemmer an instance variable (default is english) and added corresponding tests
|
2009-06-17 15:20:52 -04:00 |
|
David Sauve
|
86a5050750
|
Initial commit
|
2009-06-16 14:48:11 -04:00 |
|