Commit Graph

339 Commits

Author SHA1 Message Date
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 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 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 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 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 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 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 061703134a Removed clean method. Is now implemented in the BaseSearchBackend 2009-06-25 08:51:31 -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
David Sauve 7cd5335df5 Hide the highlight not implemented warning when highlight is False 2009-06-18 13:22:39 -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 0d77e02d80 Added a ton of docstrings and some small refactoring 2009-06-18 12:15:13 -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