Commit Graph

102 Commits

Author SHA1 Message Date
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
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
a8588b2fd8 Merge branch 'compat/4' into compat4/btasker 2017-04-27 00:24:46 +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
elliot sawyer
6b58da3f9b Merge branch 'compat/4marco' into compat/4 2017-04-26 20:58:14 +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
0b7281b25e SS 4.0 - Update references to thirdparty Solr API as its not namespaced 2017-04-22 21:30:02 +12:00
Marco Hermo
da0a217aa0 Use root namespace in referencing Apache_Solr_Document 2017-04-21 16:32:47 +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
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
Eduard Briem
695280e91e adding ability to define different port for WebDAV than used for Solr (#126)
* adding ability to define different port for WebDAV than used for Solr

* removed spaces

* added Solr configuration example to documentation
2016-09-12 00:38:52 +01:00
John Milmine
9e51c1632c adding ability for solr suffix and prefixing
This means the same code can run on a single solr core and have the same indexes but use prefixes or suffixes to keep them separate
2016-07-20 06:40:52 +12:00
madmatt
e4914a6778 Remove X-Query, X-Filters, and X-QueryFields headers from being set in test environments 2016-07-18 14:46:10 +12:00
Darren Inwood
034171270f Add an extension hook to allow altering search results 2016-05-09 10:21:07 +12:00
Damian Mooyman
e5fbdf9d42 BUG fix issues with search variants applying to more than one class 2016-04-26 12:43:31 +12:00
Daniel Hensby
a94ddbce76 FIX Indexes with custom index names that dont match the classname were breaking 2016-02-23 02:05:00 +00:00
helpfulrobot
314feddd48 Converted to PSR-2 2015-11-21 19:19:20 +13:00
Damian Mooyman
1683f776bd API QueuedJob support for Solr_Reindex
API Incremental clear and re-index of records rather than clearing all records from SolrIndex up front
2015-07-28 12:46:23 +12:00
Damian Mooyman
ddb0b2520a API Additional support for custom copy_fields
API Additional textSpellHtml type for html-safe spelling database generation
2015-07-06 17:49:06 +12:00
Damian Mooyman
94b5d7b85d Enable indexes to upload custom config
Robust parsing of collation suggestions
Support spelling suggestions
Include default optional dictionary for _spellcheckText column
2015-07-01 14:32:20 +12:00
Damian Mooyman
f2f16ae863 API Enable boosted fields to be specified on the index
API Enable configuration of default field
2015-06-30 15:13:49 +12:00
Damian Mooyman
1608d8384d Merge pull request #63 from chillu/pulls/fix-highlight-support
Fix highlight support when querying by fields (or boosting fields)
2015-06-03 10:11:31 +12:00
Ingo Schommer
1fc1a8f68c Fix class limit on delete query in SolrIndex 2015-05-07 20:44:21 +12:00
Damian Mooyman
625d282df2 API Solr_Reindex uses configured SearchUpdater instead of always doing a direct write
Emit errors on Solr_Reindex if verbose=1
2015-05-07 11:58:39 +12:00
Ingo Schommer
66a2353d33 Newline after class index log 2015-05-05 23:41:59 +12:00
Ingo Schommer
50f53e7bac Fix highlight support when querying by fields (or boosting fields)
Highlighting will simply be empty otherwise, presumably
because it can't match against the complex query term in the "q" parameter.
2015-05-05 19:44:07 +12:00
Damian Mooyman
620d7861b6 BUG Add missing addStoredFields method 2015-02-17 10:17:58 +13:00
Ingo Schommer
79eb663638 Merge pull request #58 from silverstripe-iterators/pulls/spelling-suggestions
Make spelling suggestions more useful
2015-01-06 16:47:14 +13:00
☃ Stephen Shkardoon ☃
cb1770864d Merge pull request #49 from tractorcow/pulls/solr-4-compat
BUG Fix Solr 4.0 compatibility issue
2014-11-17 16:50:12 +13:00
David Craig
201388adb4 Make spelling suggestions more useful 2014-11-14 14:02:50 +13:00