Commit Graph

677 Commits

Author SHA1 Message Date
Ingo Schommer
bcff30d9ca Allow limiting of classes on Solr_Reindex task 2012-08-23 18:13:10 +02:00
Ingo Schommer
fefd704582 Better feedback in Solr_Configure task 2012-08-23 18:10:29 +02:00
Ingo Schommer
fd8c721799 Pass through Apache_Solr_Response from SolrService
Useful for detailed success status
(failures are handled through exceptions)
2012-07-19 17:17:30 +02:00
Ingo Schommer
566791655c Better feedback in Solr_Configure task 2012-07-19 17:16:50 +02:00
Ingo Schommer
d7546a4020 Show executed cmd on Solr_Reindex with verbose=1
Makes actual operation a bit clearer, easier to kickstart debugging
2012-07-19 16:35:26 +02:00
Ingo Schommer
f09aad3280 Document CLI options, smaller doc improvements 2012-07-19 16:34:46 +02:00
Ingo Schommer
b6aa87d116 Fix results aggregation in SolrIndex (ArrayAccess broken)
Needs to use push() explicitly, native operators don't
seem to work on ArrayList (see http://open.silverstripe.org/ticket/7686)
2012-07-19 14:35:24 +02:00
Hamish Friedlander
4766794cea BUG Tests need to call bind_manipulation_capture manually 2012-07-19 17:08:07 +12:00
Hamish Friedlander
e5bf1473d6 BUG Make process_dirty_indexes act cleanly
process_dirty_indexes wasnt saving variant state or restoring or exit, because
I thought it was only called at the end of a request and so didnt need to

But tests call it regularly throughout a request. So now its clean
and safe to call when-ever
2012-07-19 17:07:48 +12:00
Hamish Friedlander
f4fd71665a BUG New capture method wouldnt carry test db name through to clone in tests 2012-07-19 14:14:12 +12:00
Hamish Friedlander
b2152b4c5e FIX Dont error out if bind_manipulation_capture called to early 2012-07-19 13:50:10 +12:00
Ingo Schommer
be507824d0 Setting include_path *before* requiring paths relying on it 2012-07-19 13:48:58 +12:00
Ingo Schommer
02e8f7338e Improved docs 2012-07-19 13:48:38 +12:00
Ingo Schommer
c464c826d0 API Moved module paths from /solr to /fulltextsearch 2012-07-19 13:48:12 +12:00
Hamish Friedlander
afaf3071d4 FIX Use ArrayList and PaginatedList instead of DataObjectSet 2012-07-19 13:46:46 +12:00
Hamish Friedlander
ce03eba8b8 Skip tests if dependancies missing 2012-07-19 13:41:05 +12:00
Hamish Friedlander
38c88094b9 FIX Use addInnerJoin instead of innerJoin to fix deprec error 2012-07-19 13:41:05 +12:00
Hamish Friedlander
3cc660484c FIX Use DataList intead of DataObject->get() 2012-07-19 13:41:05 +12:00
Hamish Friedlander
590e7bef5d Make the default update_method be AUTO 2012-07-19 13:41:05 +12:00
Hamish Friedlander
bcfb036320 Update documentation 2012-07-19 13:41:05 +12:00
Russell Michell
c77da7d42c ENHANCEMENT: Made the search ofr cli-script.php a little more flexible in light of sapphire dirname change 2012-07-19 13:41:05 +12:00
Hamish Friedlander
cc36237c94 BUGFIX: Converted reindex queries to use DataList/DataQuery instead of deprecated buoldSQL() on DataObject 2012-07-19 13:41:05 +12:00
Hamish Friedlander
b9c6ff44ec BUG Dont try and load SearchVariants that dont apply to this env 2012-07-19 13:41:05 +12:00
Hamish Friedlander
9534eeff8a BUGFIX: Fixed deprecation errors for ClassInfo::is_subclass_of 2012-07-19 13:41:05 +12:00
Hamish Friedlander
1ee50dd9ab BUG make bind_manipulation_capture call correctly
When the module was called solr we could call SearchUpdater::bind_manipulation_capture in _config.php, because
solr/_config.php was included after mysite/_config.php. This isnt true when the module is called fulltextsearch

Instead we hook into the new RequestProcessor in 3.0 to make the manipulation capture. We also make
bind_manipulation_capture re-callable, so you can call it any time you need to make sure.
2012-07-19 12:09:44 +12:00
Hamish Friedlander
17be5a3e63 Import first version of fulltextsearch module 2011-05-02 16:33:05 +12:00
Hamish Friedlander
85dfbaaf32 Initialize repository 2011-04-28 15:30:08 +12:00