Commit Graph

175 Commits

Author SHA1 Message Date
Robbie Averill
9106371f30 FIX Replace deprecated create_function with closure 2017-11-15 10:58:49 +13:00
Robbie Averill
e001b68232 FIX Remove obsolete Object reference in Solr 2017-11-15 09:56:14 +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
Robbie Averill
0de6f52b1f Merge remote-tracking branch 'upstream/master' into compat4/btasker 2017-11-14 16:31:16 +13:00
Robbie Averill
b996f689bc API Remove Object inheritance and update method signatures in CaptureFilter request filter 2017-11-14 16:08:28 +13:00
Robbie Averill
e6af5be740 Merge branch '2.3' into 2 2017-11-14 15:47:19 +13:00
cpenny
e196de2ac2 Bugfix: Set SearchUpdateCommitJobProcessor::$dirty_indexes prop type to array, not bool 2017-08-18 12:47:30 +12:00
Robbie Averill
06269e8203 FIX Return a non-zero exit code when Solr_Configure has an exception 2017-08-04 11:49:12 +12:00
Mojmir Fendek
16fc54e101
Index now supports multiple relations with the same name. 2017-06-21 13:13:33 +01:00
Mojmir Fendek
2b3357565e
Index now supports multiple relations with the same name. 2017-06-16 17:05:35 +01:00
elliot sawyer
d7805f46ab fixes to allow namespacing in index class 2017-05-19 11:23:12 +12:00
elliot sawyer
63954f3a07 Merge branch 'compat4/btasker' into compat/4 2017-05-05 21:25:29 +12:00
Elliot Sawyer
c7be39480b Merge pull request #4 from ssmarco/compat/4marco
Able to run these tasks successfully, includes Brett's changes
2017-05-04 21:35:31 +12:00
Brett Tasker
4c44d1c29e FIX: Broken merge as files have been moved + Fixed additional tests 2017-05-01 20:18:59 +12:00
Marco Hermo
6478a13425 Use ->config()->segment instead. It's possible for somebody to change the value of using the Config API 2017-05-01 12:26:07 +12:00
Marco Hermo
e6cd3f4cd2 Use to make backwards compatible with existing code 2017-05-01 12:12:43 +12:00
elliot sawyer
815d619013 SS 4.0 - Strip namespaces from core name since backslashes are not acceptable Solr core names 2017-04-30 17:08:29 +12:00
Marco Hermo
7c0ff89adf Removed @todo as SearchLogFactory interface is injected via Yaml config 2017-04-29 01:31:53 +12:00
Marco Hermo
2932ae94ca Change segments for configure and reindex tasks 2017-04-29 01:30:29 +12:00
Marco Hermo
b4d1e45f3c Add extra slashes to namespaced class passed as variable to shell commands 2017-04-29 01:29:59 +12:00
Marco Hermo
8bc6f5982c Replace deprecated code with DataObject::getSchema()->classHasTable() 2017-04-29 01:27:57 +12:00
Marco Hermo
572c17a00e Merge remote-tracking branch 'upstream/compat4/btasker' into compat/4marco 2017-04-28 22:04:57 +12:00
Marco Hermo
561550c538 Add FieldDefinitions and CopyFieldDefinitions to casting property in order to render them as HTMLText 2017-04-28 21:50:55 +12:00
Brett Tasker
c29e8ec6bf Merge branch 'master' into compat4/btasker 2017-04-27 00:27:16 +12:00
Brett Tasker
a8588b2fd8 Merge branch 'compat/4' into compat4/btasker 2017-04-27 00:24:46 +12:00
Brett Tasker
fa7a23a6d2 SS 4.0 - Upgrade Combinations array and Logging 2017-04-26 23:24:51 +12:00
Brett Tasker
6fb5736ef3 SS 4.0 - Upgrade Solr services and stores 2017-04-26 23:23:37 +12:00
Brett Tasker
5fae52374f SS 4.0 - Upgrade Solr reindex components 2017-04-26 23:22:28 +12:00
Brett Tasker
4143850786 SS 4.0 - Remove MessageHandler Solr integration 2017-04-26 23:21:30 +12:00
Brett Tasker
ea944373bd Only commit non-null values to Solr 2017-04-26 23:19:44 +12:00
Brett Tasker
4530fb21fe SS 4.0 - Upgrade Solr & Solr Index 2017-04-26 23:19:25 +12:00
Brett Tasker
7baf7d5758 Use actual classname in SearchVariantVersioned 2017-04-26 23:17:12 +12:00
Brett Tasker
59c3ad2ded SS 4.0 - Upgrade search variants 2017-04-26 23:16:32 +12:00
Brett Tasker
022575fadb SS 4.0 - Upgrade FullTextSearch, queries and updaters 2017-04-26 23:13:26 +12:00
Brett Tasker
590ac4cb25 Update manyMany array index as SS4.0 as an additional class in history. 2017-04-26 23:12:33 +12:00
Brett Tasker
8e07d4a5c6 SS 4.0 - Upgrade search processors and remove MessageQueue as not maintained 2017-04-26 23:09:47 +12:00
Brett Tasker
695b2d2fc3 SS 4.0 - Upgrade search indexes 2017-04-26 23:06:30 +12:00
elliot sawyer
6b58da3f9b Merge branch 'compat/4marco' into compat/4 2017-04-26 20:58:14 +12:00
Marco Hermo
3160c066c0 Use PHP5.5 class name resolution operator 2017-04-25 21:17:48 +12:00
Marco Hermo
e422ad48c9 Use PHP5.5 class name resolution operator 2017-04-25 21:11:29 +12:00
Elliot Sawyer
1728a62af5 WIP: Silverstripe 4 compatibility
Thanks to Marco Hermo and Brett Tasker for helping with this
* Bump framework/cms to ^4.0@dev
* WIP Silverstripe 4 compatibility fixes
* more replacements and patches to migrate this module to 4.0
* Update composer.json
* remove php <5.5 from travis.yml
* WIP more SS4 compatibility fixes
* WIP fix solr path to use DIR, avoid hardcoded module name
* WIP respect current include path
* WIP Namespacing and use on SearchIndex class
* Namespacing for tests
* WIP add namespaces to all classes
* Second push of Test changes + namespacing
* WIP split Solr files with multiple classes into single file / single class. Adjust namespaces
* Fix PHP errors in test
* break out search components with multiple classes into individual files and change namespaces
* Update namespacing for Search indexes and variants in tests
* Batch fixes for tests #2
* Update _config.php to use namespace
* Use root namespace in referencing Apache_Solr_Document
* Migrate task names so that the name is not fully qualified
2017-04-25 20:46:35 +12:00
Marco Hermo
d13601f827 Fix invalid namespace reference for SolrService_Core 2017-04-24 10:01:49 +12:00
Marco Hermo
8228c762c9 Explicit namespace definition on YAML files 2017-04-24 09:05:47 +12:00
Brett Tasker
faacb6bc47 SS 4.0 - Fix SearchIntrospection and SearchIndex 2017-04-22 21:30:29 +12:00
Brett Tasker
0b7281b25e SS 4.0 - Update references to thirdparty Solr API as its not namespaced 2017-04-22 21:30:02 +12:00
Brett Tasker
eac9485924 SS 4.0 - Update Variants 2017-04-22 21:24:33 +12:00
Brett Tasker
fcf9a4f888 SS 4.0 - Update Database Captures to support Postgres & SQLite 2017-04-22 21:22:54 +12:00
Brett Tasker
6066af5841 Update Search Manipulater 2017-04-21 16:34:04 +12:00
Marco Hermo
da0a217aa0 Use root namespace in referencing Apache_Solr_Document 2017-04-21 16:32:47 +12:00