Commit graph

159 commits

Author SHA1 Message Date
David Sauve
77a3757777 Updated AUTHORS with askfor 2009-11-26 16:23:42 -05:00
David Sauve
482e432578 Updated search to accept a set for instead of a list 2009-11-26 16:18:07 -05:00
David Sauve
1c198ba914 Added tests for exatc match 2009-11-25 08:40:10 -05:00
David Sauve
53f124ebeb Removed SearchQuery.run and SearchQuery.run_mlt. These methods were identical to the base class versions except for an error with offset calculcations 2009-11-22 10:57:34 -05:00
David Sauve
de765ba1d5 Dropped DEFAULT_MAX_RESULTS. Will now query the database for the max document count prior to searching if end_offset is not given. 2009-11-22 10:50:21 -05:00
David Sauve
6bdcfaba8f Cleanup test setUp and tearDown 2009-11-21 11:55:10 -05:00
David Sauve
ed902475b9 Updated AUTHORS and README with information on patch from wshallum 2009-11-13 09:00:21 -05:00
William Shallum
ad6b86e1da use time.strptime for compatibility with python 2.4 2009-11-13 04:34:31 +08:00
David Sauve
abd5920645 Updated to use changed get_identifier method 2009-11-09 20:27:46 -05:00
David Sauve
bac4705998 Updated README with a link to a samle cronjob 2009-10-22 16:06:49 -04:00
David Sauve
204feae63e Updated to use new SQ objects 2009-10-21 10:22:29 -04:00
David Sauve
817943bfc7 Updated README with a link to a sample index that demonstrates how to override the post save and delete signals. 2009-10-20 09:26:10 -04:00
David Sauve
23935b01f7 Updated version number in setup.py 2009-10-13 10:58:26 -04:00
David Sauve
2602674b7f Updated TODO with notes on upcoming refactor 2009-10-13 10:58:10 -04:00
David Sauve
e84e0ae58a Added jezdez to author acknowledgment 2009-10-13 10:57:32 -04:00
David Sauve
d73752e3fa Updated README with notes on how to avoid 500 errors from multiple write access attempts on re-indexing. 2009-10-08 14:48:20 -04:00
David Sauve
fbeb54fa20 Modified SearchBackend to accept limit_to_registered_models in order to properly support in SHA b329b9795 of Haystack 2009-10-08 14:42:58 -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
Jannis Leidel
c640c7102b Added default files for a release on PyPI and updated README with some information regarding the installation. 2009-10-02 00:35:34 +08:00
Jannis Leidel
d019a7310f Renamed COPYING to LICENSE 2009-10-02 00:35:34 +08:00
Jannis Leidel
a7e40c7482 Removed uneeded __init__.py in root dir. Added __version__ and __author__ information to backend file. 2009-10-02 00:35:34 +08:00
David Sauve
b1f5ba9f13 Removed outdated warning regarding query facets 2009-09-17 14:00:36 -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
728795d29b Updated README with requirements and a note on using mod_python 2009-09-17 12:42:47 -04:00
David Sauve
e0c6b3d7b1 Added support for faceting when using MultiValueField 2009-09-16 14:07:24 -04:00
David Sauve
d681827d0c Updated AUTHORS with thanks to Joshua Jonah 2009-09-01 19:46:04 -04:00
David Sauve
33ed2ce8a9 Changed highligting to not highlight any reserved words 2009-09-01 19:44:23 -04:00
Joshua Jonah
c1fc676ecf Added ignore of 'select' operators in highlighting code. Should be replaced with a proper stopwords.txt file that can be optionally added as a settings.py constant.
Signed-off-by: David Sauve <dnsauve@gmail.com>
2009-09-02 06:11:54 +08:00
David Sauve
4761286851 Added missing docstring argument on _query method 2009-09-01 16:14:34 -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
c02e0ecc01 Small refactor to move flag generation back into it's own private method. This way, it can be used by query and narrow query generation with out repeating code. 2009-08-18 16:30:15 -04:00
David Sauve
bb38e1b83e Enable wildcard support on demand instead of always. Should reduce memory usage a bit. 2009-08-18 16:16:41 -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
c7c6b21e20 Added custom ExpandDecider. To be used in 'more_like_this' calls 2009-08-18 09:49:20 -04:00
David Sauve
6d2f4a53a7 Small change to MSetIter use. Using built in members instead of method calls 2009-08-18 08:56:35 -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
9754ba0338 Updated to include build_schema method to deal with changes introduced in Haystack SHA 4f3af88c. BACKWARDS INCOMPATIBLE. 2009-08-16 11:40:47 -04:00
David Sauve
d31a875b46 Added support for additional_query_string in mlt 2009-08-14 19:06:23 -04:00
David Sauve
051fe7ddd4 Fixed bug in 'mlt'. Was using not allowing additional_query_string, start_offset, and end_offset params 2009-08-14 18:54:46 -04:00
David Sauve
fa3245d73d Added author and version entries to __init__ 2009-08-11 15:41:19 -04:00
David Sauve
a20ad426e5 Updated TODO 2009-08-11 09:28:37 -04:00