Dave Hall
|
f8118d70d0
|
Setting up watson for testing with Travis CI
|
2013-12-03 16:57:34 +00:00 |
|
Dave Hall
|
59b58ca678
|
Mergin pull request from SimonGreenhill
|
2013-06-21 10:10:54 +01:00 |
|
SimonGreenhill
|
6f2e5214e0
|
replacing simplejson
|
2013-06-21 11:37:31 +10:00 |
|
Dave Hall
|
ecdc2f2c60
|
Using a batch size of 100 for bulk search entry updates.
|
2013-06-11 11:17:12 +01:00 |
|
tsufeki
|
7607adadcf
|
Added from __future__ import unicode_literals, print_function every where except migrations/
|
2013-05-02 16:50:16 +02:00 |
|
tsufeki
|
bfd3f87f6f
|
Fixed unicode errors in JSON tests under python 3.3
|
2013-05-01 18:08:09 +02:00 |
|
tsufeki
|
afde7298c2
|
Fixed missing module name.
|
2013-05-01 17:28:46 +02:00 |
|
tsufeki
|
55e17524ea
|
Python 3.3 compatibility: fixed what 2to3 complains about, also changed force_unicode to force_text.
|
2013-05-01 16:46:10 +02:00 |
|
Antti Kaihola
|
ceb32c5fc2
|
Added Django>=1.4 compatible django.conf.urls imports to prevent a deprecation warning
|
2013-01-25 10:56:07 +02:00 |
|
Akis Kesoglou
|
ff539151cd
|
Replaced occurrences of unicode with django's force_unicode to prevent utf-8 decoding errors
|
2012-12-19 17:10:08 +02:00 |
|
Simon J Greenhill
|
d899a2d8ff
|
Update src/watson/backends.py
CREATE OR REPLACE watson_searchentry_trigger_handler function to avoid problems with broken install.s
|
2012-11-22 12:00:47 +11:00 |
|
Dave Hall
|
bba97595ca
|
Removing single quotes from postgres queries. Closes #10.
|
2012-10-28 14:08:38 +00:00 |
|
Dave Hall
|
986e17cae0
|
Admin search adapter always uses complete queryset in search results.
|
2012-07-10 11:56:53 +01:00 |
|
Dave Hall
|
11d559740a
|
Adding in some template helpers for the search results.
|
2012-05-08 13:10:04 +01:00 |
|
Dave Hall
|
ae0025ca8a
|
Implementing built-in search views using newer class-based views.
Keeping older function-based views in for backwards-compatibility.
|
2012-05-08 12:36:38 +01:00 |
|
Dave Hall
|
9b139cb675
|
Removing admin mixin separation.
|
2012-04-30 11:49:54 +01:00 |
|
Dave Hall
|
03f0b0c4ac
|
More robust site search tests.
|
2012-04-30 10:41:27 +01:00 |
|
Dave Hall
|
57133b4a1c
|
Separating admin integration into mixin class.
|
2012-04-30 10:39:44 +01:00 |
|
Dave Hall
|
0d72bf0044
|
Hacky workaround for error in test case login when not using
django.contrib.sessions.
|
2012-04-24 11:11:40 +01:00 |
|
Dave Hall
|
3331b70937
|
Improving robustness of admin tests.
|
2012-04-24 11:08:35 +01:00 |
|
Dave Hall
|
1a930308c3
|
Merge pull request #6 from nigma/text-search-config
Specify text search configuration for PostgreSQL backend
|
2012-04-24 03:05:12 -07:00 |
|
Dave Hall
|
7673acc266
|
Ability to specify a search adapter class for use in the search admin.
|
2012-04-24 10:56:38 +01:00 |
|
Filip Wasilewski
|
4678e3c50e
|
Changed text search configuration attribute name to search_config.
|
2012-04-20 12:24:43 +02:00 |
|
Filip Wasilewski
|
ec3386af94
|
Specify text search configuration for PostgreSQL to_tsvector and to_tsquery functions.
|
2012-04-20 01:09:24 +02:00 |
|
Dave Hall
|
ffe9365e70
|
Using bulk_create to speed up creation of large search entry sets.
|
2012-04-05 11:23:56 +01:00 |
|
Dave Hall
|
1e3be41635
|
More efficient single-query method of updating object index.
|
2012-04-05 10:49:06 +01:00 |
|
Dave Hall
|
e21ce01a6c
|
Making it Python 2.6 compatible.
|
2012-03-29 15:44:17 +01:00 |
|
Dave Hall
|
91de639bdb
|
Fixing admin integration for Django 1.4
|
2012-03-14 11:02:03 +00:00 |
|
Dave Hall
|
5e304d0805
|
Making postgresql version detection work in Django 1.4. Adding support
for postgis backend. Fixes #3
|
2012-03-14 10:56:35 +00:00 |
|
Dave Hall
|
6748cf9d4f
|
Better escaping of postgres search queries.
|
2012-03-14 10:40:52 +00:00 |
|
Dave Hall
|
a464013eba
|
Cleaning up an unused import.
|
2012-03-07 22:51:26 +00:00 |
|
Dave Hall
|
b27d67c6ff
|
Added in search context middleware to wrap an entire request in a search
context.
|
2012-03-07 22:48:31 +00:00 |
|
Dave Hall
|
3d8f4dff7a
|
A search context is no longer mandatory for updating the search index.
It can be used to defere updating the index until the model is ready,
however.
|
2012-03-07 22:43:11 +00:00 |
|
Dave Hall
|
e76ade8741
|
Regex search backend now works with everything, so making it non-sqlite
specific.
|
2012-02-28 16:58:01 +00:00 |
|
Dave Hall
|
563adc5dfc
|
Making specific SQLite3 backend.
|
2012-02-28 16:40:01 +00:00 |
|
Dave Hall
|
cb5b68c8c0
|
Added in legacy search backend for postgresql <= 8.3
|
2012-02-28 16:30:38 +00:00 |
|
Dave Hall
|
8cfaed0b44
|
Escaping ! operator in postgres search backend.
|
2012-02-28 16:10:29 +00:00 |
|
Dave Hall
|
592719f6fd
|
Added in prefix matching for mysql search backend.
|
2012-02-28 15:55:01 +00:00 |
|
Dave Hall
|
5088017a00
|
Adding in prefix matching support to postgres search backend.
|
2012-02-28 15:20:45 +00:00 |
|
Dave Hall
|
1e57592301
|
Better tests for prefix matching.
|
2012-02-28 15:14:28 +00:00 |
|
Dave Hall
|
2a3843c841
|
Making prefix matching work on sqlite search backend.
|
2012-02-28 14:37:39 +00:00 |
|
Dave Hall
|
1a3416b02b
|
Removing some junk code.
|
2012-02-28 14:15:25 +00:00 |
|
Dave Hall
|
939675452f
|
Removing test for searching by email. It's a pointlessly specific case.
|
2012-02-28 14:14:06 +00:00 |
|
Dave Hall
|
6217e40342
|
Removing some junk code.
|
2012-02-28 13:39:13 +00:00 |
|
Dave Hall
|
2633a708b7
|
Cleaning up some pydev errors.
|
2012-02-06 15:17:00 +00:00 |
|
Dave Hall
|
eace6cf4d0
|
Removing hacky searchentry_set generic relation from registration and search process.
|
2012-02-06 13:21:58 +00:00 |
|
Dave Hall
|
9a81358159
|
Enabled following fields through a related manager.
|
2011-11-06 13:40:43 +00:00 |
|
Dave Hall
|
dd39179e80
|
Allowing recursive field lookups in search adapter.
|
2011-10-02 18:53:49 +01:00 |
|
Dave Hall
|
8ff430a9dc
|
Added in support for models with a foreign key as a primary key.
|
2011-10-02 18:46:19 +01:00 |
|
Dave Hall
|
548da9ee08
|
Filtering a queryset by an empty search term now is a no-op
|
2011-10-02 17:16:24 +01:00 |
|
Dave Hall
|
53dccd15ee
|
Namespacing test models to avoid conflicts with other apps.
|
2011-09-15 12:22:37 +01:00 |
|
Dave Hall
|
78143ff9ec
|
Removed build watson command from migrations. It was messing things up.
|
2011-09-13 19:28:20 +01:00 |
|
Dave Hall
|
176dd518df
|
Only registering with watson if there are search fields in admin.
|
2011-09-13 15:30:02 +01:00 |
|
Dave Hall
|
5e141b38ba
|
Added in tests for install and uninstall commands.
|
2011-09-11 21:09:01 +01:00 |
|
Dave Hall
|
d68ba068ff
|
Added in MySQL do_uninstall implementation.
|
2011-09-11 20:42:28 +01:00 |
|
Dave Hall
|
6fd002baec
|
Added in is_installed implementation for MySQL.
|
2011-09-11 20:38:55 +01:00 |
|
Dave Hall
|
f09f263cce
|
Adding in autoregister for admin integration in buildwatson command.
|
2011-09-09 18:58:54 +01:00 |
|
Dave Hall
|
cda7866364
|
Added in tests for admin integration changelist rendering.
|
2011-09-08 16:56:31 +01:00 |
|
Dave Hall
|
266e8291f8
|
Added in uninstall command.
|
2011-09-08 16:53:07 +01:00 |
|
Dave Hall
|
9c9a4f5c6f
|
Fixed error with empty changelist views in admin.
|
2011-09-08 16:11:30 +01:00 |
|
Dave Hall
|
3248a15298
|
Adding in search json api view.
|
2011-09-06 17:47:04 +01:00 |
|
Dave Hall
|
8f289b3d08
|
Generalizing out search results view to allow for a json api.
|
2011-09-06 17:17:14 +01:00 |
|
Dave Hall
|
fa613b79d7
|
Added in fix for typo in search result live filter caching.
|
2011-09-06 16:38:52 +01:00 |
|
Dave Hall
|
9e97757f1d
|
Added in additional sanity check to ensure live querysets are never cached.
|
2011-09-06 16:32:23 +01:00 |
|
Dave Hall
|
77c3f6ca23
|
Removed an unecesary import.
|
2011-09-05 12:13:12 +01:00 |
|
Dave Hall
|
26f45d983e
|
Added in test for abandoning search context on error.
|
2011-09-05 12:09:25 +01:00 |
|
Dave Hall
|
232ce41d26
|
Renamed watson.context() to watson.update_index()
|
2011-09-05 12:06:57 +01:00 |
|
Dave Hall
|
42719b829f
|
Making search context's add_to_context check for an active context.
|
2011-09-01 13:57:45 +01:00 |
|
Dave Hall
|
548bae55e4
|
Making more signal handler protected.
|
2011-09-01 13:55:16 +01:00 |
|
Dave Hall
|
17e1bd3054
|
Removed context management hooks from search engine.
|
2011-09-01 13:53:22 +01:00 |
|
Dave Hall
|
c8413b4173
|
Made signal handlers private.
|
2011-08-31 11:28:18 +01:00 |
|
Dave Hall
|
8efb3ad33f
|
Renamed begin method to start.
|
2011-08-31 11:17:36 +01:00 |
|
Dave Hall
|
d33402a36f
|
Fixing typo
|
2011-08-31 10:50:41 +01:00 |
|
Dave Hall
|
66939453d4
|
Added in tests for search result pagination.
|
2011-08-30 11:22:39 +01:00 |
|
Dave Hall
|
3d2c74d304
|
Added in extra_context support in site search view.
|
2011-08-30 10:53:33 +01:00 |
|
Dave Hall
|
2907417897
|
Improving ranking behaviour for MySQL backend.
|
2011-08-29 19:18:27 +01:00 |
|
Dave Hall
|
1f51b094bd
|
Added in extra site search params.
|
2011-08-29 18:23:29 +01:00 |
|
Dave Hall
|
32ba4c5694
|
Renaming default search template.
|
2011-08-29 18:20:58 +01:00 |
|
Dave Hall
|
29d38c9e08
|
Updating tests to use watson namespaced admin class.
|
2011-08-29 18:01:45 +01:00 |
|
Dave Hall
|
f804b8d549
|
Renaming search admin class.
|
2011-08-29 18:00:55 +01:00 |
|
Dave Hall
|
fc48954e13
|
Renamed template variable of 'result_list' to 'search_results'
|
2011-08-29 17:15:32 +01:00 |
|
Dave Hall
|
5a6a726a14
|
Refactored registering live querysets.
|
2011-08-29 16:47:40 +01:00 |
|
Dave Hall
|
c032b98ec9
|
Forcing all search fields to unicode.
|
2011-08-29 16:35:51 +01:00 |
|
Dave Hall
|
2a58bab8f8
|
Adding buildwatson command to the migration installation script.
|
2011-08-29 16:17:47 +01:00 |
|
Dave Hall
|
6e5f4db51f
|
Adding in comment about separate data migration.
|
2011-08-29 16:12:32 +01:00 |
|
Dave Hall
|
4d26000229
|
Added in tests for admin integration.
|
2011-08-29 14:57:55 +01:00 |
|
Dave Hall
|
bc3350b929
|
Working on admin integration.
|
2011-08-29 14:37:19 +01:00 |
|
Dave Hall
|
6c5dbcd2c5
|
Added in fun fact explaination for MySQL testing weirdness.
|
2011-08-29 14:10:56 +01:00 |
|
Dave Hall
|
b6768965d9
|
Unit tests now pass with MySQL
|
2011-08-29 14:08:16 +01:00 |
|
Dave Hall
|
044733e567
|
Improving test pass rate for MySQL backend.
|
2011-08-29 13:30:21 +01:00 |
|
Dave Hall
|
5f00847c9b
|
Working on MySQL search backend
|
2011-08-29 13:14:22 +01:00 |
|
Dave Hall
|
e39bc340c0
|
Fixing basic search backend to pass new tests.
|
2011-08-29 11:53:23 +01:00 |
|
Dave Hall
|
87bae74871
|
Added in tests for complex registration and multiple search engines.
|
2011-08-29 11:51:40 +01:00 |
|
Dave Hall
|
f07ce3080f
|
Added in support for empty search redirect.
|
2011-08-29 11:36:34 +01:00 |
|
Dave Hall
|
7694d38879
|
Added in tests for ranking.
|
2011-08-29 11:18:53 +01:00 |
|
Dave Hall
|
17b61e6d42
|
Added in ranking parameter tests.
|
2011-08-29 11:10:09 +01:00 |
|
Dave Hall
|
1861b908c1
|
Added in support for independant filtering and ranking of search results.
|
2011-08-29 11:02:37 +01:00 |
|
Dave Hall
|
42a6ff0e26
|
Added in kitchen sink test.
|
2011-08-28 13:42:47 +01:00 |
|
Dave Hall
|
db4049764b
|
Added in test for overriding publication settings.
|
2011-08-27 18:45:43 +01:00 |
|
Dave Hall
|
1c6d92506c
|
Better tests for inclusion and exclusion. Found a silly django bug as a result, and put in a workaround hack.
|
2011-08-27 18:38:44 +01:00 |
|