Brett Tasker
57f6a55994
SS 4.0 - Update config files to use full class names & update travis
2017-04-26 22:53:44 +12:00
Brett Tasker
73e4888715
SS 4.0 - Upgrade tests to SilverStripe 4.0 & Replace Phockito
2017-04-26 22:53:00 +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
168b6745b4
SS 4.0 - Skip Subsite tests if module is not installed
2017-04-22 21:36:40 +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
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
Marco Hermo
62ba531543
Update _config.php to use namespace
2017-04-21 16:32:03 +12:00
Brett Tasker
9d5ea9393d
Batch fixes for tests #2
2017-04-21 14:14:30 +12:00
Brett Tasker
6a2a4a8dd2
Update namespacing for Search indexes and variants in tests
2017-04-21 13:32:39 +12:00
Brett Tasker
db096ebf7d
Merge branch 'compat/4' into compat4/btasker
2017-04-21 13:28:14 +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
0ee34e49e2
Fix PHP errors in test
2017-04-21 13:26:07 +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
Daniel Hensby
30e5b200e9
Merge pull request #140 from silverstripe-elliot/patch-2
...
Update Solr.md
2017-03-30 15:27:57 +01: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
Elliot Sawyer
f5392b630f
Update Solr.md
...
Update documentation explaining how to search for numeric terms by overloading types.ss
2017-03-28 16:20:46 +13:00
Elliot Sawyer
5790802544
Update Solr.md
...
Added documentation for how to search on macrons and other unicode characters. Thanks to @chrispenny for the code sample.
2017-03-28 16:12:56 +13:00
Damian Mooyman
91ef18a734
Merge commit '9e5d432aa552958972137de98bf40b8edbcc7e03'
2017-03-10 17:17:59 +13: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
elliot sawyer
45473db303
remove php <5.5 from travis.yml
2017-02-23 20:26:37 +13:00
Elliot Sawyer
b0436d7d52
Update composer.json
2017-02-23 20:04:55 +13:00
elliot sawyer
7c27484d24
more replacements and patches to migrate this module to 4.0
2017-02-17 17:37:32 +13:00
elliot sawyer
bbdf79ea2b
WIP Silverstripe 4 compatibility fixes
2017-02-17 16:27:38 +13:00
Elliot Sawyer
6fbb25abb1
Bump framework/cms to ^4.0@dev
2017-02-17 12:03:51 +13:00
Ingo Schommer
51749c603a
Fixed Travis URL
2017-02-07 08:58:21 +13:00
Daniel Hensby
176014afaa
Merge branch '2.3'
2016-12-14 13:31:38 +00:00
Daniel Hensby
203f931961
Merge branch '2.2' into 2.3
2016-12-14 13:26:44 +00:00
Daniel Hensby
b17bee71e5
Merge pull request #132 from dhensby/pulls/2.2/fix-subsite-regression
...
fix subsite regression
2016-12-14 12:18:53 +00:00
Damian Mooyman
b51e545e4b
Merge pull request #131 from dhensby/pulls/2.2/fix-subsite-regression
...
FIX Regression where pages would be indexed under all subsites
2016-12-12 10:49:22 +13:00
Daniel Hensby
465c072a99
FIX Regression where pages would be indexed under all subsites
2016-12-09 12:02:11 +00:00
Daniel Hensby
50c9f52d58
Test coverage for SearchVariantSubsites@extractManipulationWriteState
2016-12-09 12:02:10 +00:00