Commit graph

26 commits

Author SHA1 Message Date
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