Commit Graph

6 Commits

Author SHA1 Message Date
Andrew Aitken-Fincham e2a68ccffe improve SearchQuery API readability by deprecating functions
deprecate filter, exclude, fuzzysearch, inClass

deprecate start, limit

deprecate page, update SearchQuery_Range

add _config.php with Deprecation versioning

update index.md method names

update solr.md method names
2018-05-18 10:15:20 +01:00
Robbie Averill c64c0c05c7 Update doc block for withCommon to indicate an array of strings, shorten serialized cache key 2018-02-28 09:30:17 +13:00
Robbie Averill 6e5b37e728 NEW Add SearchVariant::withCommon to run callbacks on relevant variants rather than all 2018-02-23 16:42:00 +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
Raissa North 193fe8139e API Make SearchVariant::call(...) arguments variadic 2017-11-30 12:01:57 +13:00
Robbie Averill 7b72774890 FIX Update directory structure for PSR-4 compatibility and rename "code" to "src" 2017-11-29 15:13:46 +13:00