Commit Graph

22 Commits

Author SHA1 Message Date
Steve Boyd
cfe937fbd1 NEW canView() check on record before indexing and before showing in search results 2020-06-10 17:22:20 +12:00
Robbie Averill
45c402fc4c API Remove bind_manipulation_capture and RequestFilter, use Injector instead 2017-12-07 09:12:57 +13:00
Robbie Averill
861f87514d API Update Subsite integration, remove Polyhome variant
Add a method to clear cached variants from SearchVariant, and a configuration flag for whether
a variant should be enabled or not. Add a FullTextSearch TestState class which will globally
disable the queuedjobs and fulltextsearch shutdown handlers during tests, and is not used to
clear cached variants on each test to prevent global state leakage.

Also removes Phockito as a test dependency.
2017-12-05 14:29:53 +13:00
Robbie Averill
e590132967 FIX Run phpcbf automated linting to fix PSR-2 code styles, add PSR-4 autoloader 2017-11-15 09:53:33 +13:00
Robbie Averill
b448bfcd20 NEW Add config for shutdown flush, remove references to Object and update tests 2017-11-14 17:05:30 +13:00
Brett Tasker
4c44d1c29e FIX: Broken merge as files have been moved + Fixed additional tests 2017-05-01 20:18:59 +12:00
Brett Tasker
c29e8ec6bf Merge branch 'master' into compat4/btasker 2017-04-27 00:27:16 +12:00
Brett Tasker
73e4888715 SS 4.0 - Upgrade tests to SilverStripe 4.0 & Replace Phockito 2017-04-26 22:53:00 +12:00
Brett Tasker
43dd2ba398 SS 4.0 - Replace inst()->update with modify()->set and hasOne with hasOneComponent 2017-04-22 21:31:34 +12:00
Brett Tasker
6a2a4a8dd2 Update namespacing for Search indexes and variants in tests 2017-04-21 13:32:39 +12:00
Brett Tasker
ddbab95e3f Namespacing for tests 2017-04-21 12:23:27 +12:00
Daniel Hensby
9e5d432aa5
Merge branch 'pull/138' into 2.3 2017-03-09 10:47:21 +00:00
Damian Mooyman
bbaf4276af
BUG Fix delete / unpublish
Split SearchUpdater classes into separate files
Fixes #134
2017-03-09 12:34:20 +13:00
Damian Mooyman
ec5e4f4581 BUG Fix versioned writes where subtables have no fields key
BUG Remove unnecessary config nesting in tests which are now handled via core
Fixes some regressions in recent framework fixes to versioned
2016-04-15 15:46:19 +12:00
helpfulrobot
314feddd48 Converted to PSR-2 2015-11-21 19:19:20 +13:00
Damian Mooyman
f2f16ae863 API Enable boosted fields to be specified on the index
API Enable configuration of default field
2015-06-30 15:13:49 +12:00
Darren Inwood
a2cfbb531b BUG Fix sold indexing storing against the incorrect class key 2014-05-22 12:18:38 +12:00
Hamish Friedlander
03a206109a Make tests run 2013-09-11 14:35:01 +12:00
Ingo Schommer
50304e4b0c NEW SearchIndex->excludeVariantState() 2012-08-28 23:34:51 +02:00
Hamish Friedlander
4766794cea BUG Tests need to call bind_manipulation_capture manually 2012-07-19 17:08:07 +12:00
Hamish Friedlander
ce03eba8b8 Skip tests if dependancies missing 2012-07-19 13:41:05 +12:00
Hamish Friedlander
17be5a3e63 Import first version of fulltextsearch module 2011-05-02 16:33:05 +12:00