Commit graph

395 commits

Author SHA1 Message Date
David Sauve
99435741b2 Removed weight attribute from SearchResults generated. Is not used by Haystack. Thanks to liranz for pointing this out. 2010-10-02 08:23:16 -07:00
David Sauve
fa66941000 Added missing acknowledgment to J00bar. 2010-08-27 13:09:42 -07:00
David Sauve
acf2c5b58c Fixed typo in the haystacksearch.org site url. Thanks to jaddison for point it out. 2010-08-27 11:48:46 -07:00
David Sauve
0e31e326c8 Updated test suite to demonstrate new SearchQuery._term_query fixes from last commit 2010-08-10 10:44:22 -07:00
David Sauve
ea60ae1ffe SearchQuery._term_query will now properly build a query for field id and django_ct 2010-08-10 10:43:21 -07:00
David Sauve
5180f5f00c Revert "Merged field_weights branch"
This reverts commit 660af5f564.
2010-08-05 10:02:59 -04:00
David Sauve
660af5f564 Merged field_weights branch 2010-07-21 19:13:26 -04:00
David Sauve
f1808df037 Added Sym Roe to AUTHORS for contribution to improving more_like_this speed 2010-05-28 14:41:33 -04:00
David Sauve
28d7284205 Added number of terms to consider in more_like_this when using ELITE_SET 2010-05-28 14:41:09 -04:00
Sym Roe
e4707203f4 Use OP_ELITE_SET rather than OP_OR in more_like_this.
Because performance is really bad when using OP_OR with a large database.
2010-05-29 02:23:24 +08:00
David Sauve
f83742485b Updated release notes 2010-05-13 14:11:31 -07:00
David Sauve
ba47d7b361 Updated for compatibility with Xapian 1.2 by removing depracted method calls and slightly refactoring the way queries are constructed. 2010-05-13 14:08:28 -07:00
David Sauve
12e9220b4c Updated version number in setup.py to match the version number in the xapian_backend.py file. 2010-05-11 09:52:53 -07:00
David Sauve
7c12e5cc35 Updated README.rst with a better explanation of when to use SearchIndex vs. RealtimeSearchIndex 2010-04-29 13:05:13 -04:00
David Sauve
23b9281b83 Corrected link to gist with sample cronjob for update_index command 2010-04-29 12:27:32 -04:00
David Sauve
a9dc03d070 Added a query test to demonstrate how __in and punctuation is expected to work 2010-04-20 14:17:00 -04:00
David Sauve
4e6bc83525 Updated folder layout for test suite. 2010-04-20 14:16:06 -04:00
David Sauve
4ca75d2f15 Updated README with a note about version numbers 2010-04-10 09:47:17 -04:00
David Sauve
41762d7c42 Better testing for whitespace in term indexing 2010-03-11 12:11:14 -05:00
David Sauve
962585a40d Added a check to ensure that we don't try to index empty terms 2010-03-11 09:45:06 -05:00
David Sauve
9d8af9cbcf Changed SearchBackend.update so that it indexes terms with punctuation as well as using the Xapian.TermGenerator. This allows terms like URLs to work as expected 2010-03-05 15:33:14 -05:00
David Sauve
306a6f153f Changed to use to correspond to change in Haystack introduced in SHA 9255c9 2010-02-25 11:10:10 -05:00
David Sauve
3ce0ad120d Updated to mirror changes to faceting in Haystack that were introduced in SHA c8f8d 2010-02-19 09:47:58 -05:00
David Sauve
560f33533f Removed leftover pdb.set_trace() 2010-02-13 15:09:04 -05:00
David Sauve
097808ca44 Corrected an issue with stemming that caused it to be skipped when searching without limiting to a field 2010-02-12 14:40:14 -05:00
David Sauve
25a79572fe Fixed incorrect name of README in setup.py 2010-02-12 10:51:59 -05:00
David Sauve
46764499d7 Added BACKEND_NAME='xapian' constant to remain consistent with Haystack 2010-02-09 21:09:33 -05:00
David Sauve
e794f53c99 Rewrote __starts_with filter to be much more effecient by using a query_parser for the query fragment to expand wildcards 2010-02-09 14:04:53 -05:00
David Sauve
576f13ea91 Added test to verify that overriding the type of field works as expected 2010-02-09 10:26:43 -05:00
David Sauve
d0c5e4380a Added the ability to override field names within the index as added in Haystack SHA f3bf9b7f 2010-02-08 20:28:51 -05:00
David Sauve
10408d356a Changed all instance of enquire.get_mset to use a wrapped, safer, version of get_mset. This version should automatically attempt to reopen a database connection if xapian.DatabaseModifiedError is raised 2010-02-06 10:45:26 -05:00
David Sauve
e6d964d53d Updated MANIFEST.in to include README.rst 2010-01-29 10:58:48 -05:00
David Sauve
5dfb3e3fdd Updated TODO. Was really outdated... 2010-01-27 19:44:49 -05:00
David Sauve
0dfa0875a9 Updated RELEASES with changes in last merge 2010-01-27 19:43:21 -05:00
David Sauve
a4e60604a3 Updated SearchBackend.update to be smarter when indexing multi-value fields and stemming. Will now only stem text fields and will properly index each field of a MultiValueField. 2010-01-27 19:37:49 -05:00
David Sauve
8a7afd50ec No longer add multi-value field values to the value area of the Xapian index 2010-01-27 16:14:05 -05:00
David Sauve
8b9ec85f36 Calculate end_offset as doccount - start_offset when end_offset is None 2010-01-27 15:55:34 -05:00
David Sauve
f8689c8247 Added a test to confirm that MultiValueField isn't working properly for short values 2010-01-27 15:34:15 -05:00
David Sauve
8ad4989f21 Revert "Removed symlink to README"
This reverts commit 8ac587f064.
2010-01-27 15:30:58 -05:00
David Sauve
8ac587f064 Removed symlink to README 2010-01-27 15:30:11 -05:00
David Sauve
144c4e6225 Updated version number to 1.1.3beta 2010-01-27 09:18:42 -05:00
David Sauve
b1c8980b10 Updated RELEASE notes 2010-01-27 09:08:57 -05:00
David Sauve
6596259b2d Fix for issue #31 -- OverFlow error. end_offset was being improperly calculated. 2010-01-27 08:46:37 -05:00
David Sauve
b98e044cd0 Added NOT tests for date/datetime 2010-01-21 14:38:31 -05:00
David Sauve
5f3ba78a26 Changed SearchResult.score to be the document percentage score instead of the weight. Added a new attribute that is the weight. 2010-01-19 15:27:16 -05:00
David Sauve
2864744bf3 Updated SearchQuery to accept an optional argument 2010-01-18 16:11:43 -05:00
David Sauve
1c05645509 Updated Haystack requirement to reflect that is no longer BETA 2010-01-16 18:48:23 -05:00
David Sauve
bdfcb8b947 Replaced copyright symbol with (c) in README.rst. This was causing formatting issues on Github. 2010-01-16 18:46:13 -05:00
David Sauve
48ae0c79d0 Fixed symlink to README.rst 2010-01-16 11:10:58 -05:00
David Sauve
bbc062c765 Converted README to ReStructuredText to make it friendly for PyPI 2010-01-16 10:31:38 -05:00