Commit Graph

66 Commits

Author SHA1 Message Date
Michal Kleiner
ed2c135b38
FIX #241 - Support numerically indexed array of classes 2018-12-04 15:43:53 +13:00
Dylan Wagstaff
f89818909a Merge branch '3.3' 2018-10-17 12:10:53 +13:00
Guy Marriott
7ee362a5c7
Merge pull request #230 from Lolly101/phpbin-change
enhancement allow php bin to be configured
2018-09-13 12:37:15 +12:00
Lauren Hodgson
117850f492 enhancement allow php bin to be configured 2018-09-13 11:22:18 +12:00
Robbie Averill
ef7ff75035 Update code for PSR-2 compliance 2018-09-07 11:47:34 +02:00
Sander Hagenaars
f703559d65 conditional for adding start variable to results 2018-08-29 09:50:37 +02:00
Sander Hagenaars
4e543ec2b6 fix missing pagination in search results 2018-08-28 08:41:43 +02:00
Guy Marriott
393d50c858
FIX Removing last usage of depreacted method 2018-08-24 10:12:18 +12:00
Robbie Averill
1f156dfbb4
Merge pull request #150 from silverstripe-terraformers/feature/complex-filtering
Add nested filtering via Criteria and Criterion objects.
2018-08-22 12:00:03 +12:00
Robbie Averill
f1f7b15569
FIX Add missing namespace import from alterQuery's PHPDoc block 2018-08-02 11:32:03 +12:00
Robbie Averill
e78d753152 Merge branch '3.3' 2018-07-26 15:02:45 +12:00
cpenny
43f415555a Added complex filtering via Criteria/Criterion and Adapters/Writers for Solr. 2018-07-12 13:28:40 +12:00
Guy
fb446b613f
FIX Reduce log level so errors do not automatically output 2018-06-28 09:56:26 +12:00
Robbie Averill
3b27de2e57 Merge branch '3.3' 2018-06-27 17:01:36 +12:00
Robbie Averill
acf204c1d0 Merge branch '3.2' into 3.3 2018-06-27 17:01:09 +12:00
Guy
97891b5fa3
Fixing linting issue that couldn't be automatically resolved 2018-06-27 16:54:08 +12:00
Guy
3e8b7f50a4
Automated linting commit 2018-06-27 16:50:54 +12:00
Guy
5c12baaaa9
FIX Use \Exception for catching Solr exceptions 2018-06-27 16:23:17 +12:00
Andrew Aitken-Fincham
53eb826681
re-add default searchform docs
add blurb about simple theme

text extraction

synonyms
2018-06-20 17:14:49 +01:00
Damian Mooyman
b653758c80
BUG Fix psr-4 namespace errors due to incorrect case 2018-06-15 10:34:14 +12:00
Andrew Aitken-Fincham
875b37ea63 use a template that iterates results properly 2018-06-08 14:11:33 +01:00
Andrew Aitken-Fincham
7b78a841b0 add default solr contentcontroller extension
piggy-back on default searchform
2018-06-06 17:28:31 +01:00
Andrew Aitken-Fincham
e2a68ccffe improve SearchQuery API readability by deprecating functions
deprecate filter, exclude, fuzzysearch, inClass

deprecate start, limit

deprecate page, update SearchQuery_Range

add _config.php with Deprecation versioning

update index.md method names

update solr.md method names
2018-05-18 10:15:20 +01:00
Robbie Averill
7a3e2d0823 NEW Allow autoconfigure to be disabled via configuration 2018-03-20 16:32:32 +13:00
Raissa North
f47f43324c Update doc blocks at class level 2018-03-15 10:36:31 +13:00
Raissa North
08052436e8 DOCS Add doc blocks for ProxyDBExtension 2018-03-15 09:45:14 +13:00
Raissa North
e7420a584d NEW Update to use proxied DB instead of self-proxied 2018-03-14 16:54:04 +13:00
Dylan Wagstaff
138fdad90c FIX Reenable indexing of relationship fields
In previous versions one could add e.g. a filter field for their index to
a relationship, such as 'Categories.ID' where categories is a many_many
relationship. This stopped working in the SS4 upgrade. Namespaces, whoop.
2018-03-13 13:34:14 +13:00
jovenden
0fbff7ca6a Remove all further references to getClassNameFromIndex() 2018-03-09 09:42:33 +13:00
jovenden
9153365313 Use full namespaced core for index and commit actions 2018-03-09 09:33:29 +13:00
jovenden
0764c0ed1e Ensure only Namespaced format is used for Configure 2018-03-08 14:17:33 +13:00
jovenden
b6e64a2ec4 Fix issue where schema.xml etc is put in a different dir than the core is instantiated in 2018-03-08 12:56:43 +13:00
Dylan Wagstaff
48f3df725a
Merge pull request #202 from creative-commoners/pulls/3.0/irrelevant-variant-isolation
NEW Add SearchVariant::withCommon to run callbacks on relevant variants rather than all
2018-03-06 13:27:21 +13:00
Robbie Averill
c64c0c05c7 Update doc block for withCommon to indicate an array of strings, shorten serialized cache key 2018-02-28 09:30:17 +13:00
Robbie Averill
415fdeb0cd
Merge pull request #204 from creative-commoners/pulls/3.0/equality-for-all-dataobjects
FIX Don't assume a DataObject's table.
2018-02-26 11:00:19 +13:00
Dylan Wagstaff
9e32f2adb0 FIX Don't assume a DataObject's table.
Knowing if a DataObject has a table or not is irrelevant - data is queried
out and pushed into solr all the same, whether there is a join table, a
base table, or any combination with maybe a few no-tables in between.
SomeDataClass::get() will fetch all data irrelevant of tables, that's the
point of an abstraction like SilverStripe's ORM.
2018-02-23 17:45:33 +13:00
Dylan Wagstaff
367343c481 FIX permit reindexing on a Windows machine
It appears that when executing in a Microsoft Windows environment the
default shell used in the immediate reindex handler is CMD, which has
some severely different syntax support from that of a POSIX machine (e.g.
GNU bash). This leads to errors to do with double escaping certain
parameters passed in via the CLI - culminating in an Injector error about
an non-extant class e.g. 'SilverStripe\\CMS\\Model\\SiteTree' - two
slashes a namespace separator does not make!
2018-02-23 16:46:44 +13:00
Robbie Averill
6e5b37e728 NEW Add SearchVariant::withCommon to run callbacks on relevant variants rather than all 2018-02-23 16:42:00 +13:00
Robbie Averill
de4e2ba889 NEW Use symfony/process to execute immediate system commands for reindexing 2018-02-16 12:05:46 +13:00
Robbie Averill
345a45d532 MINOR Correct PHPDoc types and remove unused imports 2018-01-10 19:57:19 +13:00
Robbie Averill
7b933cb36e API More TestState into source folder from tests 2018-01-10 15:16:04 +13:00
Robbie Averill
415a1b9960 Merge branch '2' 2017-12-13 18:07:54 +13:00
Robbie Averill
a47d5e8a8e FIX Use correct namespace for SQLite3 adapter, implement injector prioritisation for database 2017-12-07 09:14:08 +13:00
Robbie Averill
21a045165b Skip testSoftCap for now, passes in isolation but not in the suite. Use constants for queue statics 2017-12-07 09:12:57 +13:00
Robbie Averill
45c402fc4c API Remove bind_manipulation_capture and RequestFilter, use Injector instead 2017-12-07 09:12:57 +13:00
Robbie Averill
fccac37621 FIX Ensure queued job signature remains under 64 character limit (fixes Postgres error) 2017-12-07 09:12:57 +13:00
Robbie Averill
e47ab9c07d FIX Implement correct namespace for PostgreSQL and add to Travis matrix 2017-12-07 09:12:57 +13:00
Robbie Averill
4d57f09230 NEW Replace backslashes in Solr index names with dashes 2017-12-06 10:17:24 +13:00
Robbie Averill
b64f02727c FIX Double escape namespace separators in class names when boosting fields 2017-12-05 16:49:55 +13:00
Robbie Averill
7ae7f704ce FIX Double escape namespace separators in class names when excluding fields 2017-12-05 16:07:49 +13:00