Commit Graph

536 Commits

Author SHA1 Message Date
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
Brett Tasker
3c1ace867b SS 4.0 - Disable SubSite installation as SubSite has yet to be upgraded 2017-04-26 22:55:18 +12:00
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