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
Brett Tasker
9d5ea9393d
Batch fixes for tests #2
2017-04-21 14:14:30 +12:00
elliot sawyer
13bef6eb0d
break out search components with multiple classes into individual files and change namespaces
2017-04-21 13:26:24 +12:00
Brett Tasker
2c653daa9d
Merge branch 'compat/4' into compat4/btasker
2017-04-21 13:19:48 +12:00
Brett Tasker
0ebf6e6220
Second push of Test changes + namespacing
2017-04-21 13:18:37 +12:00
elliot sawyer
424107fcac
WIP split Solr files with multiple classes into single file / single class. Adjust namespaces
2017-04-21 13:08:14 +12:00
Brett Tasker
a5588fa5a0
Merge branch 'compat/4' into compat4/btasker
2017-04-21 12:28:49 +12:00
elliot sawyer
abdfe1947f
WIP add namespaces to all classes
2017-04-21 12:27:01 +12:00
Brett Tasker
ddbab95e3f
Namespacing for tests
2017-04-21 12:23:27 +12:00
elliot sawyer
9aac0ff1aa
WIP respect current include path
...
WIP Namespacing and use on SearchIndex class
2017-04-21 12:00:02 +12:00
elliot sawyer
26b629a6cd
WIP fix solr path to use DIR, avoid hardcoded module name
2017-04-21 11:45:04 +12:00
elliot sawyer
19b38e0811
WIP more SS4 compatibility fixes
2017-04-21 11:37:01 +12:00
Elliot Sawyer
2246fa9ab8
Obtain search results for a particular subsite when the request comes from a query ( #136 )
...
* Allow a user to obtain search results for a particular subsite when the request comes from a query
When attempting to do this in project code, SearchVariantSubsites kicks in and replaces any filter you've applied with the current subsite ID, which prevents you from searching for filtered results in another subsite.
This fix prevents the module from doing this if a filter is applied on the query
TODO write unit tests for the filter() and exclude() behaviours
2017-03-30 11:17:46 +01:00