Commit graph

61 commits

Author SHA1 Message Date
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
7752a6e743 Implemented _dump_document_data and new update method 2009-07-31 11:43:58 -04:00
David Sauve
8afa719129 Added copyright notice 2009-07-31 11:43:58 -04:00
David Sauve
856777adb4 Completed new _build_schema and _prepare methods 2009-07-31 11:43:14 -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
21b60477e2 Updated TODO 2009-07-27 15:21:03 -04:00
David Sauve
c087348a48 Implemented highlighting 2009-07-27 15:12:20 -04:00
David Sauve
a238bafe80 Updated AUTHORS 2009-07-27 10:03:31 -04:00
David Sauve
224cd0855b Changed clear to use private _get_enquire method 2009-07-24 16:41:40 -04:00
David Sauve
199982fb33 Revert "Moved enquire instance creation to seperate private _get_enquire method"
This reverts commit 11d1213c33.
2009-07-24 16:15:34 -04:00
David Sauve
11d1213c33 Moved enquire instance creation to seperate private _get_enquire method 2009-07-24 16:15:24 -04:00
David Sauve
8fb2bca7d0 Moved enquire instance creation to seperate private _get_enquire method 2009-07-24 16:05:31 -04:00
David Sauve
4de6161ffd Moved query parser setup to _get_query_parser private method 2009-07-24 15:27:43 -04:00
David Sauve
0d4ecf3d3a Fixed license. Should be GPLv2, like Xapian 2009-07-24 10:52:14 -04:00
David Sauve
7856d5f685 Updated TODO 2009-07-23 15:03:03 -04:00
David Sauve
c9c831a332 Refactored search code to have a seperate private method for _get_flags and _get_sorter. Makes the search method a little easier to follow. 2009-07-22 16:47:30 -04:00
David Sauve
276fec46e4 Changed the order of import statements. 2009-07-22 16:38:01 -04:00
David Sauve
e2de88b8a0 Updated TODO -- Removed refactor to use multiple indexes 2009-07-22 16:33:32 -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
eda8d92858 Updated TODO with new items 2009-07-22 09:31:05 -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
979f0f86a3 Revert "Refactored indexer creation into seperate private method _get_indexer"
This reverts commit b1c1a35ece.
2009-07-21 13:45:17 -04:00
David Sauve
b1c1a35ece Refactored indexer creation into seperate private method _get_indexer 2009-07-21 13:45:06 -04:00
David Sauve
b3ba9233e5 Refactored indexer creation into seperate private method _get_indexer 2009-07-21 13:44:50 -04:00
David Sauve
317fb6cd3d Moved database opening into private method 2009-07-21 13:11:33 -04:00
David Sauve
5a71dc76e2 Whitespace change 2009-07-21 09:43:55 -04:00
David Sauve
72489054d2 Updated TODO 2009-07-09 16:36:37 -04:00
David Sauve
ff0a466241 Implemented multi-field ordering on search 2009-07-09 16:35:24 -04:00
David Sauve
a22442b894 Updated TODO list 2009-07-09 14:04:49 -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
1a35a91a47 Implemented order by for single field 2009-07-09 13:00:07 -04:00
David Sauve
b147b5c926 Roughed in the order_by 2009-07-08 16:43:46 -04:00
David Sauve
12e494e747 Fixed a bug that caused indexed=False to be ignored again after a previous refactor 2009-07-03 16:03:44 -04:00
David Sauve
f8f453ad58 Moved _build_schema to bottom of class and commented it. Also moved unified schema method to inside. 2009-07-03 15:50:50 -04:00
David Sauve
d43f7d1093 Better schema generation. Dropping the stuff I don't need, and including value column locations 2009-07-03 15:44:01 -04:00
David Sauve
0af2285c6f Updated term generation to not include fields marked as indexed=False 2009-07-03 15:18:23 -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
f77b861f81 Another refactor to further simplify narrowing 2009-07-03 11:55:25 -04:00
David Sauve
26df069e76 Refactored narrowing to not weight based on narrow query. ie., to only filter. 2009-07-03 11:53:03 -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
061703134a Removed clean method. Is now implemented in the BaseSearchBackend 2009-06-25 08:51:31 -04:00
David Sauve
b6f0695dc1 Fixed typo in README 2009-06-22 09:50:35 -04:00
David Sauve
d3307a712c Updated TODO 2009-06-22 08:26:25 -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
bb5cbbd606 Small refactor on spelling suggestions in SearchBackend.search method 2009-06-20 07:34:26 -04:00
David Sauve
0c0be221cb Added spelling suggestions to SearchBackend.search method 2009-06-20 07:32:18 -04:00